B2GETPARTFRICTION

This command will return the friction coefficient of the specified part.  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 Float = b2GetPartFriction(PartID as Integer)

Related Information

BOX2D Commands Menu
Index