B2GETCONTACTFRICTION

This command will return the friction of the specified contact.  You can retrieve the contacts for a node with b2GetContactNodeContact.  The parameter should be the integer handle of the contact that was returned by the previously listed command.

 

Syntax

Return as Float = b2GetContactFriction(ID as Integer)

Related Information

BOX2D Commands Menu
Index