B2GETWORLDCONTACT

This command will return the handle of the specified contact in the specified world.  You can then use this handle to examine or alter that contact with the standard commands for contacts.  The ID should be the integer handle of the world to be checked.  The index should be the number of the contact to be retrieved.  You can get the number of contacts in a world with b2GetWorldContactCount.

 

Syntax

Return as Integer = b2GetWorldContact(ID as Integer, Index as Integer)

Related Information

BOX2D Commands Menu
Index