At the moment Box3Helper
seems designed for AABB.
Maybe we just un-rotate the OBB, get the AABB Box3 of it, make the Box3Helper from that, then rotate it back?
At the moment Box3Helper
seems designed for AABB.
Maybe we just un-rotate the OBB, get the AABB Box3 of it, make the Box3Helper from that, then rotate it back?
Oh! I think we can just make a Mesh with BoxGeometry (or EdgesGeometry, or etc) with the same dimensions and position and rotate it to the correct spot.
Using a simple box mesh is actually used in webgl_math_obb to visualize a clicked OBB.