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… :?
/Irrisor
you need to call rootNode.updateGeometricState(0.0f, true); before you do stuff like that…
DP
Nope, does not help
This helps, but is very bad:
shieldMesh.updateWorldVectors();
((Geometry)shieldMesh.getModelBound()).setLocalScale( shieldMesh.getLocalScale());