Package org.jbox2d.particle
Class ParticleContact
java.lang.Object
org.jbox2d.particle.ParticleContact
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe logical sum of the particle behaviors that have been set.intIndex of the respective particle-making contact.intIndex of the respective particle-making contact.final Vec2The normalized direction from A to B.floatWeight of the contact. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
indexA
public int indexAIndex of the respective particle-making contact. -
indexB
public int indexBIndex of the respective particle-making contact. -
flags
public int flagsThe logical sum of the particle behaviors that have been set. -
weight
public float weightWeight of the contact. A value between 0.0f and 1.0f. -
normal
The normalized direction from A to B.
-
-
Constructor Details
-
ParticleContact
public ParticleContact()
-