b2ContactPoint Struct Reference
This structure is used to report contact points. More...
Public Attributes | |
| b2Shape * | shape1 |
| the first shape | |
| b2Shape * | shape2 |
| the second shape | |
| b2Vec2 | position |
| position in world coordinates | |
| b2Vec2 | velocity |
| velocity of point on body2 relative to point on body1 (pre-solver) | |
| b2Vec2 | normal |
| points from shape1 to shape2 | |
| float32 | separation |
| the separation is negative when shapes are touching | |
| float32 | friction |
| the combined friction coefficient | |
| float32 | restitution |
| the combined restitution coefficient | |
| b2ContactID | id |
| the contact id identifies the features in contact | |
Detailed Description
This structure is used to report contact points.The documentation for this struct was generated from the following file:
- b2Contact.h
Generated on Sun Apr 13 15:21:27 2008 for Box2D by
1.5.4