B2GETPARTBODY

This command will return the handle of the body that the specified part is part of.  A part is basically a shape in a body made from a template.  The PartID should be the integer handle of the part to be checked.

 

Syntax

Return as Integer = b2GetPartBody(PartID as Integer)

Related Information

BOX2D Commands Menu
Index