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.
Exibir arquivo 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_oe property

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

Next public_oe property

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

Other public_oe property

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

Prev public_oe property

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