B2GETCONTACTBODY

This command will return the handle of the body being contacted in 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 Integer = b2GetContactBody(ID as Integer)

Related Information

BOX2D Commands Menu
Index