LiquidFun
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Public Attributes | List of all members
b2ParticleBodyContact Struct Reference

Public Attributes

int32 index
 
b2Bodybody
 
float32 weight
 
b2Vec2 normal
 
float32 mass
 

Member Data Documentation

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.


The documentation for this struct was generated from the following file: