Box2D: b2ContactResult Struct Reference

Box2D

b2ContactResult Struct Reference

This structure is used to report contact point results. More...

List of all members.

Public Attributes

b2Shapeshape1
 the first shape
b2Shapeshape2
 the second shape
b2Vec2 position
 position in world coordinates
b2Vec2 normal
 points from shape1 to shape2
float32 normalImpulse
 the normal impulse applied to body2
float32 tangentImpulse
 the tangent impulse applied to body2
b2ContactID id
 the contact id identifies the features in contact

Detailed Description

This structure is used to report contact point results.
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  doxygen 1.5.4