DarkBASIC Professional Help File

DX11 SET OBJECT LOOKAT

Rotate the specified object so that it is facing (or "looking at") the given 3D position.

Syntax

    DX11 SET OBJECT LOOKAT object, x, y, z

Parameters

    object

> Dword
> The object to set the look-at position of.

    x

> Float
> The X coordinate of the look-at position of the given object.

    y

> Float
> The Y coordinate of the look-at position of the given object.

    z

> Float
> The Z coordinate of the look-at position of the given object.

Returns

This function does not return a value.

See also

OBJECT Functions Menu
DX11 Function Categories