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