Hello,
I would like to make a really customized camera, like a FPS one but without freelook...
I try with addCameraSceneNode, and can someone please tell me how the hell can I seriously get rid off that autorotating to the target function everytime I move forward and stuff please ???
A camera will always look at its target... That's what the target is for.. If you want it to look somewhere specific you set the target to the specific position to look at...
if (keyDown[VK_LEFT])
cam->setRotation(vector3df(cam->getRotation().X,cam->getRotation().Y - 5,cam->getRotation().Z));
if (keyDown[VK_RIGHT])
cam->setRotation(vector3df(cam->getRotation().X,cam->getRotation().Y + 5,cam->getRotation().Z));
But nothing happens, maybe the target is locked to it's rotation...
Can someone give me a hint please ?
the camera's rotation is independent from its target.... setting the rotation effectively has no effect on what the camera sees. That's because you made bindTargetToRotation false, if you make it true then setting the camera's rotation should work.