com.bulletphysics.dynamics.constraintsolver
Class ConstraintPersistentData

java.lang.Object
  extended by com.bulletphysics.dynamics.constraintsolver.ConstraintPersistentData

public class ConstraintPersistentData
extends Object

Stores some extra information to each contact point. It is not in the contact point, because that want to keep the collision detection independent from the constraint solver.


Field Summary
 float accumulatedTangentImpulse0
           
 float accumulatedTangentImpulse1
           
 Vector3f angularComponentA
           
 Vector3f angularComponentB
           
 float appliedImpulse
          total applied impulse during most recent frame
 ContactSolverFunc contactSolverFunc
           
 float friction
           
 Vector3f frictionAngularComponent0A
           
 Vector3f frictionAngularComponent0B
           
 Vector3f frictionAngularComponent1A
           
 Vector3f frictionAngularComponent1B
           
 ContactSolverFunc frictionSolverFunc
           
 Vector3f frictionWorldTangential0
           
 Vector3f frictionWorldTangential1
           
 float jacDiagABInv
           
 float jacDiagABInvTangent0
           
 float jacDiagABInvTangent1
           
 float penetration
           
 int persistentLifeTime
           
 float prevAppliedImpulse
           
 float restitution
           
 
Constructor Summary
ConstraintPersistentData()
           
 
Method Summary
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appliedImpulse

public float appliedImpulse
total applied impulse during most recent frame


prevAppliedImpulse

public float prevAppliedImpulse

accumulatedTangentImpulse0

public float accumulatedTangentImpulse0

accumulatedTangentImpulse1

public float accumulatedTangentImpulse1

jacDiagABInv

public float jacDiagABInv

jacDiagABInvTangent0

public float jacDiagABInvTangent0

jacDiagABInvTangent1

public float jacDiagABInvTangent1

persistentLifeTime

public int persistentLifeTime

restitution

public float restitution

friction

public float friction

penetration

public float penetration

frictionWorldTangential0

public final Vector3f frictionWorldTangential0

frictionWorldTangential1

public final Vector3f frictionWorldTangential1

frictionAngularComponent0A

public final Vector3f frictionAngularComponent0A

frictionAngularComponent0B

public final Vector3f frictionAngularComponent0B

frictionAngularComponent1A

public final Vector3f frictionAngularComponent1A

frictionAngularComponent1B

public final Vector3f frictionAngularComponent1B

angularComponentA

public final Vector3f angularComponentA

angularComponentB

public final Vector3f angularComponentB

contactSolverFunc

public ContactSolverFunc contactSolverFunc

frictionSolverFunc

public ContactSolverFunc frictionSolverFunc
Constructor Detail

ConstraintPersistentData

public ConstraintPersistentData()
Method Detail

reset

public void reset()