- SEE ALSO
- COPYRIGHT & LICENSE
Box2D::b2Contact - Manages contact between two shapes.
my $fixture_a = $contact->GetFixtureA(); my $fixture_b = $contact->GetFixtureB();
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.
Get the first fixture in this contact.
Get the second fixture in this contact.
Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.
Get the next contact in the world's contact list.
Has this contact been disabled?
Is this contact touching?
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 collisions).
See "BUGS" in Box2D