Understand the camera view in FPS
by Emanuel Zephir · in Torque Game Engine · 11/03/2002 (9:18 pm) · 1 replies
Hey. I have a question. How does the camera work in FPS for the Player view (the whole free flying thing makes sense with Alt - c). I want to learn how to modify the camera when the player is in control. I need the camera to change the axis that its looking down (still aiming at the player though) when a certain key is pressed.
It seems like the camera is integrated with the Player class (am I correct?), but I am extremely confused with where I need to go or what exactly I should be looking at.
Any help or direction that anyone could give me would be VASTLY appreciated.
It seems like the camera is integrated with the Player class (am I correct?), but I am extremely confused with where I need to go or what exactly I should be looking at.
Any help or direction that anyone could give me would be VASTLY appreciated.
Associate Ron Yacketta
I am looking to add 2 maybe 3 new camera views in the game that can be accessed via a keystroke similar to alt-c etc.
the basic idea would be to create a new datablock script side like the observer one, a new state and then the engine code to handle the positionin gof the camera.
-Ron