jettero heller
10-09-2008 15:45:52
Hi all.
I'm a bit confused about update methods.
In Ogre, the root object calls the frameStarted method on all the framelistener objects registered and I move entity and play animations in this method.
NxOgre has its rendering system and I can make the physics objects (characters, actors...) and graphics objects (entity, mesh, animations) to be the same thing.
Which method I should use to update positions, animation and physics?
Have I to call Character::simulate() in frameStarted() for each frame and update entity's animation in the simulate method??
tnx
jet.
I'm a bit confused about update methods.
In Ogre, the root object calls the frameStarted method on all the framelistener objects registered and I move entity and play animations in this method.
NxOgre has its rendering system and I can make the physics objects (characters, actors...) and graphics objects (entity, mesh, animations) to be the same thing.
Which method I should use to update positions, animation and physics?
Have I to call Character::simulate() in frameStarted() for each frame and update entity's animation in the simulate method??
tnx
jet.