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

Public Attributes

int32 indexA
 Indices of the respective particles making contact.
 
int32 indexB
 
uint32 flags
 
float32 weight
 
b2Vec2 normal
 The normalized direction from A to B.
 

Member Data Documentation

uint32 b2ParticleContact::flags

The logical sum of the particle behaviors that have been set. See the b2ParticleFlag enum.

float32 b2ParticleContact::weight

Weight of the contact. A value between 0.0f and 1.0f. 0.0f ==> particles are just barely touching 1.0f ==> particles are perfectly on top of each other


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