lordmonkey
21-04-2011 23:56:36
Hello,
I have a small problem with updating camera's position in my ogre application. I update this position with the line:
(sinbad from nxOgre tutorials) (mCameraPivot is an Ogre::SceneNode where it is further passed to mCamera)
But as I do this the Sinbad is somehow walking 'slower' (with smaller steps with the time) than the camera. I have even tried to divide the obtained from Sinbad character position by 5 or 10 and then pass it to the camera but the effect was just smaller.
What am I missing here ?
I have a small problem with updating camera's position in my ogre application. I update this position with the line:
mCameraPivot->setPosition( mSinbad->getPosition() );
(sinbad from nxOgre tutorials) (mCameraPivot is an Ogre::SceneNode where it is further passed to mCamera)
But as I do this the Sinbad is somehow walking 'slower' (with smaller steps with the time) than the camera. I have even tried to divide the obtained from Sinbad character position by 5 or 10 and then pass it to the camera but the effect was just smaller.
What am I missing here ?