摘要: 最近编辑点击事件时发现:threejs的 raycaster只对mesh有感应,而引入模型类型是group,那么要对引入模型进行获取就要把raycaster.intersectObjects(children)里children对象设置为group的children这样就可以编辑对引入模型的点击事件 阅读全文
posted @ 2021-05-27 17:36 博客园197 阅读(3388) 评论(0) 推荐(0)