DarkBASIC Professional Help File

DX11 GET LIMB RIGHT VECTOR

Retrieves the current right vector of the specified limb.
The right 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 RIGHT VECTOR(limb, [resultVector])

Parameters

    limb

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

    [Optional] resultVector

> Dword
> The limb's right 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 right vector otherwise.

See also

LIMB Functions Menu
DX11 Function Categories