Bodies in this compound.
Cast to Body — returns the Body wrapper if this is a Body, else null.
Cast to Compound — returns the Compound wrapper if this is a Compound, else null.
Cast to Shape — returns the Shape wrapper if this is a Shape, else null.
Callback types assigned to this interactor.
Child compounds in this compound.
Constraints in this compound.
The interaction group this interactor belongs to.
Unique numeric identifier for this interactor.
User-defined data storage object.
Distribute all children to the parent compound or space, then remove.
Calculate the center of mass of all bodies in this compound.
Deep copy of this compound and all its children.
Returns true if this interactor is a Body.
Returns true if this interactor is a Compound.
Returns true if this interactor is a Shape.
Recursively visit all bodies in this compound and its sub-compounds.
Recursively visit all sub-compounds in this compound.
Recursively visit all constraints in this compound and its sub-compounds.
A compound physics object — a hierarchical grouping of Bodies, Constraints, and other Compounds.
Fully modernized — uses ZPP_Compound directly (extracted to TypeScript).