92 return createFcn(fixtureA, indexA, fixtureB, indexB, allocator);
96 return createFcn(fixtureB, indexB, fixtureA, indexA, allocator);
127 destroyFcn(contact, allocator);
173 bool touching =
false;
178 bool sensor = sensorA || sensorB;
222 if (touching != wasTouching)
238 if (wasTouching ==
false && touching ==
true && listener)
243 if (wasTouching ==
true && touching ==
false && listener)
248 if (sensor ==
false && touching && listener)
250 listener->
PreSolve(
this, &oldManifold);
const b2Transform & GetTransform() const
B2_API bool b2TestOverlap(const b2Shape *shapeA, int32 indexA, const b2Shape *shapeB, int32 indexB, const b2Transform &xfA, const b2Transform &xfB)
Determine if two generic shapes overlap.
b2ContactID id
uniquely identifies a contact point between two shapes
A rigid body. These are created via b2World::CreateBody.
float tangentImpulse
the friction impulse
int32 pointCount
the number of manifold points
float normalImpulse
the non-penetration impulse
b2ManifoldPoint points[b2_maxManifoldPoints]
the points of contact
float m_restitutionThreshold
b2Shape::Type GetType() const