
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.
Returns a Box2D::b2Fixture
Get the second fixture in this contact.
Returns a Box2D::b2Fixture
Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.
Returns a Box2D::b2Manifold
Get the next contact in the world's contact list.
Returns a Box2D::b2Contact
Has this contact been disabled?
Returns a bool
Is this contact touching?
Returns a bool
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).
Parameters:
bool $flag

See "BUGS" in Box2D

