This command will return the ID of the contact between the specified contact node and another body. A value greater than 0 means the node is contacting a body, a 0 means it is not. You can retrieve the contact nodes for a body with b2GetFirstContactNode, b2GetNextContactNode, and b2GetPreviousContactNode. You can use value returned by this command to get more information about the contact with the commands b2GetContactBody, b2GetContactManifoldCount, b2GetContactManifold, b2GetContactFriction, and b2GetContactRestitution. The parameter should be the integer handle of the contact node that was returned by one of the three previous commands.
Syntax
Return as Integer = b2GetContactNodeContact(ID as Integer)