Merlimoo
22-12-2007 17:31:14
Hi,
I am currently programming a game with NxOgre and I'd like to implement a pause. I am creating the World object with the FrameListener option ON. Currently, I am removing the PhysXDriver framelistener from the Ogre::Root queue and putting it in when I want to resume the game. But when I am pausing the game when a force is applied to an object, this object have some kind of an infinite force applied to him when I resume the game. I can understand why, but I don't know how to avoid it.
I don't really know another method to do this. Can somebody help me please ?
I am currently programming a game with NxOgre and I'd like to implement a pause. I am creating the World object with the FrameListener option ON. Currently, I am removing the PhysXDriver framelistener from the Ogre::Root queue and putting it in when I want to resume the game. But when I am pausing the game when a force is applied to an object, this object have some kind of an infinite force applied to him when I resume the game. I can understand why, but I don't know how to avoid it.
I don't really know another method to do this. Can somebody help me please ?
