Public Attributes | |
b2Shape * | shape1 |
the first shape | |
b2Shape * | shape2 |
the second shape | |
b2Vec2 | position |
position in world coordinates | |
b2Vec2 | normal |
points from shape1 to shape2 | |
float32 | separation |
the separation is negative when shapes are touching | |
float32 | normalForce |
the signed magnitude of the normal force | |
float32 | tangentForce |
the signed magnitude of the tangent force | |
b2ContactID | id |
the contact id identifies the features in contact |