CameraLookAt()

Syntax

CameraLookAt(#Camera, x, y, z)
Description
Changes the direction that a camera is facing so that is pointing towards the specified point. The position of the camera is not changed.

Parameters

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

x - The X position to point the camera at.

y - The Y position to point the camera at.

z - The Z position to point the camera at.

Return value

This function does not return any value.

Supported OS

All

<- CameraLocate() - Camera Index - CameraProjectionMode() ->