C# Class Box2D.Dynamics.Contacts.ContactEdge

A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.
Show file Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
Contact Contact
Next ContactEdge
Other Body
Prev ContactEdge

Property Details

Contact public property

the contact
public Contact,Box2D.Dynamics.Contacts Contact
return Contact

Next public property

the next contact edge in the body's contact list
public ContactEdge,Box2D.Dynamics.Contacts Next
return ContactEdge

Other public property

provides quick access to the other body attached.
public Body Other
return Body

Prev public property

the previous contact edge in the body's contact list
public ContactEdge,Box2D.Dynamics.Contacts Prev
return ContactEdge