3PG, createFlyStraightAnimator and camera
Posted: Wed Mar 15, 2006 9:40 pm
I have array of positions my model (30 positions per second) - like race.
And I have array of positions following camera.
I use:
If model moved and camera moved - everything fine, but when you watching on background or another static object - it's a litlle bit jumped.
My game working at ~45-50 FPS.
I already tryed to change array up to 50 positions per second - doesn't effect at all.
Is it some issues with createFlyStraightAnimator?
And I have array of positions following camera.
I use:
Code: Select all
ModelAnim = smgr->createFlyStraightAnimator(vector3df(leaderPosition[currentSlice]), vector3df(leaderPosition[currentSlice + 1]), 1000 / 30);
Model->addAnimator(ModelAnim);
ModelAnim->drop();
CameraAnim = smgr->createFlyStraightAnimator(vector3df(cameraPosition[currentSlice]), vector3df(cameraPosition[currentSlice + 1]), 1000 / 30);
camera->addAnimator(CameraAnim);
CameraAnim->drop();
My game working at ~45-50 FPS.
I already tryed to change array up to 50 positions per second - doesn't effect at all.
Is it some issues with createFlyStraightAnimator?