Skip to content

Class: 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.

Constructors ​

Constructor ​

new ContactEdge(contact): ContactEdge

Parameters ​

contact ​

Contact

Returns ​

ContactEdge

Properties ​

contact ​

contact: Contact


next ​

next: ContactEdge = null


other ​

other: Body = null


prev ​

prev: ContactEdge = null