Jerking objects in tutorial...

Victorliu17

31-01-2007 17:17:18

Hi!

I noticed the objects in tutorial ( I use 0.4 RC2 ) jerk when I move them here and there, especially noticeable when I attach a camera to a moving body.

I located this thread regarding the jerk problem: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2172

However, I never use OIS or anything else other than the default Ogre & NxOgre environment. Any suggestions? THX!

NickM

31-01-2007 18:01:39

If you use NxOgre 0.4 RC3, you can use a fixed time step..

mScene->setTiming(scene::FIXED, 1.0f / 60.0f, 8);

You may find that fixes the jerky problem.

Victorliu17

31-01-2007 18:35:28

Unfortunately I'm using RC2.

Just like mnm23 pointed out in the previous topic, "it seems like it lagged for a bit then set its position to where it was supposed to be."

What causes this? And how to adjust the time step in RC2?

Victorliu17

31-01-2007 20:39:11

I just found I have the exact same problem as Toby encountered here:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1264&start=0&postdays=0&postorder=asc&highlight=blueprint

I think I know how to fix it now, just a little complicated.
Thx for the reply!