updateWorldData

Hi all,

if you call updateWorldData in the update(float arg) method. It will not be called unless a key has been pressed.



Instead, you have to do this:



rootNode.updateGeometricState(time * 10, true);



time being the Timer.getTimePerFrame().

is this a bug?
if you call updateWorldData in the update(float arg) method. It will not be called unless a key has been pressed.


Sure it's called. It's just not doing what you are expecting it to.

You should be calling updateGeometricState. As you have seen.

is this a bug?


nope.

I’m making updateWorldData protected to avoid this issue.

awsomes