How to get mesh bounding info in the sandbox inspector?

I need to get dimensions of meshes loaded from gltf file.

I believe it used to be in the old inspector, or maybe in andother sandbox, i don’t know.
Now I don’t see anything like that.

Maybe, there’s a way to access underlying sandbox scene from devtools console, so i could call scene.getMeshByName() and mesh.getBoundingInfo()

I don’t know about the diff between inspector v1 and v2 for bounding info. But you can access a mesh variable via the inspector and access it on the console. Go to the mesh you want or scene, go to properties and click on the copy button on any of it’s properties. Then go to the console, paste : You will have something like:

globalThis.debugNode.isVisible = true; // (debugNode as BABYLON.Mesh)

The node you want is under:

globalThis.debugNode

1 Like