entity - entity handle parent - parent entity handle global (optional) - true for the child entity to retain its global position and orientation. Defaults to true. |
Attaches an entity to a parent. Parent may be 0, in which case the entity will have no parent. |