B2GETCONTACTRESTITUTION

This command will return the restitution 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 = b2GetContactRestitution(ID as Integer)

Related Information

BOX2D Commands Menu
Index