Public Attributes | |
| b2Vec2 | localPoint1 |
| local position of the contact point in body1 | |
| b2Vec2 | localPoint2 |
| local position of the contact point in body2 | |
| float32 | separation |
| the separation of the shapes along the normal vector | |
| float32 | normalForce |
| the non-penetration force | |
| float32 | tangentForce |
| the friction force | |
| b2ContactID | id |
| uniquely identifies a contact point between two shapes | |
It holds details related to the geometry and dynamics of the contact points. The point is stored in local coordinates because CCD requires sub-stepping in which the separation is stale.
1.5.4