Constructor
Flag this contact for filtering. Filtering will occur the next time step.
Get the first fixture in this contact.
First fixture in this contact.
Get the second fixture in this contact.
Second fixture in this contact.
Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.
Contact manifold.
Get the next contact in the world's contact list.
Next contact in the world's contact list.
Get the world manifold.
World manifold out.
World manifold.
Does this contact generate TOI events for continuous simulation.
True for continous, otherwise false.
Has this contact been disabled?
True if disabled, otherwise false.
Is this contact a sensor?
True if sensor, otherwise false.
Is this contact touching.
True if contact is touching, otherwise false.
Enable/disable this contact. This can be used inside the pre-solve contact listener. The contact is only disabled for the current time step (or sub-step in continuous collision).
True to enable, false to disable.
Change this to be a sensor or-non-sensor contact.
True to be sensor, false to not be a sensor.
Generated using TypeDoc
The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.