CameraLocate()

Syntax

CameraLocate(#Camera, x, y, z)
Description
Changes the position of a camera to a new absolute location in the world. Only the position is changed, all other values stay as they are (such as direction of camera, field of view, etc). If you want to perform a movement relative to the current camera location you can use the MoveCamera() command.

Parameters

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

x - The new X position for the camera.

y - The new Y position for the camera.

z - The new Z position for the camera.

Return value

This command does not return any value.

Supported OS

Windows, Linux

<- CameraFOV() - Camera Index - CameraLookAt() ->