C3DCamera::Move |
Top Previous Next |
Syntax:
Parameters: LeftRight - Distance to move camera along the X axis. FrontBack - Distance to move camera along the Y axis. Returned value(s): Application: cam1.move( -1.0 , 0)
Additional Info: Positive values move the camera right and back, negative values move the camera left and front respectively. To change the Y axis use the SetY method. This method is designed to move the camera using a FPS (First Person Shooter) methodology. By locking the Y axis and using Move you can achieve the same walking results seen in popular games.
See Also: |