DarkBASIC Professional Help File

DX11 GET LIMB BOUNDING BOX

Retrieves the (local) bounding box of the given limb.
The coordinates, which are relative to the pivot point of the limb, are filled out to two VECTOR3 instances.

Syntax

    DX11 GET LIMB BOUNDING BOX limb, minVector, maxVector, [absolute]

Parameters

    limb

> Dword
> The limb to get the bounding box corner coordinates of.

    minVector

> Dword
> A vector3 that will be filled out with the minimum XYZ coordinates of the bounding box.

    maxVector

> Dword
> A vector3 that will be filled out with the maximum XYZ coordinates of the bounding box.

    [Optional] absolute

> Boolean
> Set to true to apply the limb's current world transform to the vectors, resulting in absolute values that take rotation and scaling into account. Defaults to false.

Returns

This function does not return a value.

See also

LIMB Functions Menu
DX11 Function Categories