MoveCamera()

Syntax

MoveCamera(#Camera, x, y, z)
Description
Moves a camera in the world according to the specified x,y,z values. This is a relative move based on the current camera location. To perform an absolute move in the world, use CameraLocate().

Parameters

#Camera - The number of the camera you want to move. This is the value which you used when you created the camera using CreateCamera()

x - Offset to add to the current camera X position.

y - Offset to add to the current camera Y position.

z - Offset to add to the current camera Z position.

Return value

This command does not return any value.

Supported OS

Windows, Linux

<- IsCamera() - Camera Index - RotateCamera() ->