Moving the camera -> the bsp world is shaking

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
Soldier of infortune
Posts: 29
Joined: Fri Sep 19, 2003 8:36 am

Moving the camera -> the bsp world is shaking

Post by Soldier of infortune »

Hello

When i move the camera the bsp world is shaking. Have you got an explication for this strange effect ?

This is my code :

Code: Select all

		core::vector3df cam_pos = camera->getPosition();
		core::vector3df cam_tar_pos = camera->getTarget();

		cam_pos.X -= 1.0f ;
		cam_pos.Z -= 1.0f;	

		cam_tar_pos.X =  1.0f ;
		cam_tar_pos.Z =  1.0f;

		camera->setPosition(cam_pos);
		camera->setTarget(cam_tar_pos);
Thanks.
Post Reply