ArcBasicDocs

EntityParent

Changes an entity's parent.

EntityParent ( entity,parent[,global] )

Parameters

entity
the entity to attach.
parent
the parent to attach it to, or 0 to detach it.
global (optional)
1 keeps the entity where it is in the world as it changes parent; 0 keeps its position measured from the old parent, so it jumps to the same spot relative to the new one.

Description

Attaches an entity to another, its parent, or detaches it. A child moves, turns and scales along with its parent, as a wheel goes with a car or a hat with a head.

See also