Public Attributes | |
int32 | index |
b2Body * | body |
float32 | weight |
b2Vec2 | normal |
float32 | mass |
b2Body* b2ParticleBodyContact::body |
The body making contact.
int32 b2ParticleBodyContact::index |
Index of the particle making contact.
float32 b2ParticleBodyContact::mass |
The effective mass used in calculating force.
b2Vec2 b2ParticleBodyContact::normal |
The normalized direction from the particle to the body.
float32 b2ParticleBodyContact::weight |
Weight of the contact. A value between 0.0f and 1.0f.