jams
29-09-2007 13:40:04
Hi, I'm using Caelum (http://www.ogre3d.org/phpBB2/viewtopic.php?t=24961&start=550 in my application but I have a probrem to make it work with NxOgre.
The problem is that I have a camera attached to a vehicle, and when the vehicle moves, indeed the camera moves too. But Caelum system uses the camera RealPosition at each preViewortUpdate. The result is that the sky system keeps oscillating between two (or more) camera positions when some physics works on the vehicle.
Well, even before posting this message I found a solution, which is to manually call Ogre::SceneNode::_update on nodes handled by NxOgre before Caelum system update.
I wonder if NxOgre souldn't do that itself automatically when needed
The problem is that I have a camera attached to a vehicle, and when the vehicle moves, indeed the camera moves too. But Caelum system uses the camera RealPosition at each preViewortUpdate. The result is that the sky system keeps oscillating between two (or more) camera positions when some physics works on the vehicle.
Well, even before posting this message I found a solution, which is to manually call Ogre::SceneNode::_update on nodes handled by NxOgre before Caelum system update.
I wonder if NxOgre souldn't do that itself automatically when needed