How do I set where would the camera look and be?
Thanks!
How to set the init view of a FPS camera?
In your init function
That will set it up. If you want to move the camera around and change its target you do that with the same calls in your render function.
Code: Select all
// add the camera
cam = smgr->addCameraSceneNodeFPS();
cam->setPosition(vector3df(x, y, z));
cam->setTarget(vector3df(x, y, z));