Login  Register

Re: [Ardor3d] Exact bounding boxes

Posted by gouessej on Mar 24, 2016; 2:42pm
URL: https://forum.jogamp.org/Ardor3d-Exact-bounding-boxes-tp4036316p4036534.html

I'd like you to tell me whether you call Mesh.updateWorldBound(boolean) or Spatial.updateGeometricState(double, boolean) or Spatial.updateGeometricState(double).

When you rotate a Spatial, the engine updates both the transform and the bounding.

You can use setModelBound with autoCompute too.

The extent of the object is stored into the bounding box.
Julien Gouesse | Personal blog | Website