如果有人已经问过这个问题,我真的很抱歉,但我已经尝试过很多关于这个的搜索。是否有任何方法可用于检测 Threejs 中的一个 Box 是否与场景中的一个或多个其他对象发生碰撞?
let allObjects = getAllObjectsArray(); //returns all Boxes of the scene
let newBox = getNewBox(); //Adding new box;
let collidingObjs = allCollidingObjects(newBox);//I want a logic that will return array of all objects collide with "newBox"
console.log(collidingObjs)