Camera rotation is always up?
Posted: Tue Apr 17, 2007 2:48 am
Hi everyone. I have a simple camera attached to an object within the game. I use the following to create the camera.
No matter what values I set for the camera rotation, the camera always looks up at the ceiling. My object is an tall egg.
Can anyone please tell me how to make the camera face forward through the object?
My thanks in advance.
Code: Select all
cameraNode = sceneManager -> addCameraSceneNode(oNode, vector3df(0, 0, 0), vector3df(0, 0, 0), -1);
Can anyone please tell me how to make the camera face forward through the object?
My thanks in advance.