DarkBASIC Professional Help File

DX11 GET LIMB FORWARD VECTOR

Retrieves the current forward vector of the specified limb.
The forward vector will be copied to the provided vector3 (which will also be returned by this function) or
it will be put into a temporary vector3 which is returned and only valid until the next call to DX11 SYNC.

Syntax

    Return Dword = DX11 GET LIMB FORWARD VECTOR(object, [resultVector])

Parameters

    object

> Dword
> The limb to get the current forward vector of.

    [Optional] resultVector

> Dword
> The limb's forward vector will be copied here, or to a temporary vector3 if this parameter is omitted.

Returns

Returns the resultVector if it was provided, or the newly created temporary vector3 holding the limb's forward vector otherwise.

See also

LIMB Functions Menu
DX11 Function Categories