I need an inside test for an area which is rotated. This area is represented by a plane.
I’ve tried using Box3 and Box2, applying scale, rotation and position of the mesh, but it seems that the box is always axis aligned.
Do I need to write a manual function or is there a way to have the Box not axis aligned?
const clone = myPlane.clone() clone.applyQuaternion(scene.quaternion) // apply also scene rotation if any const box = new T.Box3().setFromObject(clone) scene.add(new T.Box3Helper(box, 0xFF00FF))