Hi everyone,
Here is a playgroudn: https://playground.babylonjs.com/#Z8HTUN#904
The bounding box is an empty object. Tracing this from here to here there is just a type cast from “{}” to “BoundingBox”.
Couldnt find anything bounding boxy here: havok/packages/havok/HavokPhysics.d.ts at main · BabylonJS/havok · GitHub
Dirty quick fix: https://playground.babylonjs.com/#Z8HTUN#905
FYI, use case is to dispose/merge the mesh after creating PhysicsShape from it. The PhysicsBody just gets a TransformNode. Since the mesh is disposed, it would be useful to query the bounding box from the shape.
Best wishes
Joe