Hello,
there is some method to get the sides of a mesh’s OBB bounding box?
I know that mesh.getBoundingBoxInfo has the property vectors, but what I don’t know is which sides each of this vectors are representing and there isn’t any method of get an array that is a side of the bounding box (OBB in my case).
You could take all 8 points of the an AABB then translate them by the meshes rotation matrix. Which then will give you all 8 points in an approximate OBB.
Then you would want to check out my post cpusam. Just make sure when you capture the boundingbox that your mesh is not rotated or anything prior so that your accuracy will be a little closer. Then just follow my steps above. There is a vectors parameter in the boundingData.boundingBox you can use, and then I assume you know how to apply a rotation matrix to a vector.