Physics representation via getModelBound and scaling

The physics does not seem to regard the scale of a spatial if it uses the model bound - is that a bug or am I doing something wrong?

It uses geometry.getModelBound().getLocalScale() to scale the physics types but this seems to return {1,1,1} all the time… :?


you need to call rootNode.updateGeometricState(0.0f, true); before you do stuff like that…


:frowning: Nope, does not help

This helps, but is very bad:


((Geometry)shieldMesh.getModelBound()).setLocalScale( shieldMesh.getLocalScale());