Hello,
I have meshes I want to get the bounding box of, and then get VerticesData and IndicesData of said bounding box without actually having to create a helper mesh to fetch the info from, for performance reasons.
I am aware that there is boundingInfo.vectorsWorld data, but I’m not sure how I would be able to convert that into vertices data along with the according indices data.
Any help would be appreciated, thanks!
(Preferably a performant way to do this, as it’s going to be executed for every mesh in the scene at once)