In my game one of the key features is switching from FPS mode to 3rd Person mode with a click of a key. I'm trying to add that feature to my code now but I am totally lost. As a test I'm using the ninja model from another post. I know that you would add a camera using
Code: Select all
ICameraSceneNode* camera = SceneManager->addCameraSceneNode();
But from there I can't figure out:
1) where to put the camera for the FPS mode on the ninja model
2) How to set up a 3rd person cam
3) How to switch from one to the other
4)Switch controls for the separate modes
Can anyone give me a hand here please?