Bounding nodes not moving

Yeah, you don't want to updateModelBounds unless you have a dramatically changing Geometry that requires recalculation of the bounds. Try unlocking the bounds on the sharednodes.


Node objectNode = new SharedNode(entry.getKey(), display.getNodeForObjectType(tempObject.getType()));
                        objectIdToSpatialMap.put(tempObject.getOid(), objectNode);
                       
                        TransformQuaternion location = tempObject.getInterpolatedLocation(controller.getServerTime());
                        objectNode.setLocalRotation(location.getRotation());
                        objectNode.setLocalTranslation(location.getTranslation());
                       
                        objectNode.updateWorldBound();
                       // ---> objectNode.lockBounds();
                        objectNode.updateGeometricState(0,true);
                        objectNode.updateRenderState();

doh!



:roll:



I'll give it a try tonight.



Thanks



Endolf

Hi



That worked :slight_smile:



Thanks, just got the strange camera rotations to sort out now :slight_smile:



Cheers



Endolf