DarkBASIC Professional Help File

DX11 UNGLUE OBJECT

Detaches the given object from whatever entity (camera / object / limb) it was previously attached to.
You have to do this if deleting the entity that the object was attached to; an entity will not be properly deleted until all attachments to it have been removed.
If the object in question isn't attached ("glued") to any other entity, this function will do nothing.

Syntax

    DX11 UNGLUE OBJECT object

Parameters

    object

> Dword
> The object to detach from whatever it was previously attached ("glued") to.

Returns

This function does not return a value.

See also

OBJECT Functions Menu
DX11 Function Categories