Jumping camera.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Chmel_Tolstiy
Posts: 41
Joined: Mon Feb 11, 2008 3:06 pm

Jumping camera.

Post by Chmel_Tolstiy »

I have a carema a CollAnimator:

scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(0, 100.0f, 300.0f, -1, 0, 0, false, 0.f);

scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(
metaselector, camera, core::vector3df(20,80,20),
gravity,
core::vector3df(0, 70, 0),
0.00f);

In scene I have a stairs. But when I go to it the camera begins jumps. And when I go to the obstacle of hight nearly 80 camera goes back far from this obstacle.

Sorry, for bad english. And thanks to all. Please help. What do I do wrong? May be I miss some parametr of camera ?
Chmel_Tolstiy
Posts: 41
Joined: Mon Feb 11, 2008 3:06 pm

Post by Chmel_Tolstiy »

gravity is (0,-50,0)

And I have nearty 6-8 fps with my big scene.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

If you could upload a compiled executable with all the required assets then we could try it out and see what's going on, as i don't particularly understand what you mean from what you've said.
Image Image Image
Post Reply