[SOLVED] How to get boundaries of all geometry attached to rootNode

Hello everybody,
I found out that i can get the center of all geometry with


Now i need to know if there’s an easy way to get the minimum an maximum xyz-coordinates for the bounding box that surrounds all geometry attached to the rootNode. i mean something like


and so on.

getWorldBound() returns a BoundingVolume you can cast it directly to BoundingBox and get min/max.

1 Like

That’s it. Thank you very much !!!

1 Like