MoveCameraLocalZ
Description
Moves the specified camera along its local Z axis, i.e. if the camera were a character this command would make them move forwards no matter which direction they were facing.
Definition
MoveCameraLocalZ( cameraID, amount )
void agk::MoveCameraLocalZ( UINT cameraID, float amount )
Parameters
- cameraID - The ID of the camera to modify, the main camera is ID 1.
- amount - The distance to move in the local Z direction, can be negative.