DarkBASIC Professional Help File

DX11 SET LIMB LOOKAT

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

Syntax

    DX11 SET LIMB LOOKAT limb, x, y, z

Parameters

    limb

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

    x

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

    y

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

    z

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

Returns

This function does not return a value.

See also

LIMB Functions Menu
DX11 Function Categories