kintaro
12-06-2006 15:44:01
Hi, I am building an application that uses OgreNewt and oFusion (oSceneLoader). My problem is that when I change scene, OgreNewt::BasicFrameListener gives an error and my application crashes, even if I didn't created any primitive solid of physics.
I noticed that if I create the OgreNewt::BasicFrameListener only after change scene, everything works ok, but I need to use physics in both scenes.
So how could I solve this problem?
I thought that if I stop ogre newt basic framelistener, change scene, and than re-initiaze this frame listener, maybe it can work. But I don't know how to stop a frame listener or re-initialize one. Anyone knows how to do this?
Thanks for help
I noticed that if I create the OgreNewt::BasicFrameListener only after change scene, everything works ok, but I need to use physics in both scenes.
So how could I solve this problem?
I thought that if I stop ogre newt basic framelistener, change scene, and than re-initiaze this frame listener, maybe it can work. But I don't know how to stop a frame listener or re-initialize one. Anyone knows how to do this?
Thanks for help