com.bulletphysics.dynamics.constraintsolver
Class SolverConstraint

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

public class SolverConstraint
extends Object

1D constraint along a normal axis between bodyA and bodyB. It can be combined to solve contact and friction constraints.


Field Summary
 Vector3f angularComponentA
           
 Vector3f angularComponentB
           
 float appliedImpulse
           
 float appliedPushImpulse
           
 SolverConstraintType constraintType
           
 Vector3f contactNormal
           
 float friction
           
 int frictionIndex
           
 float jacDiagABInv
           
 Object originalContactPoint
           
 float penetration
           
 Vector3f relpos1CrossNormal
           
 Vector3f relpos2CrossNormal
           
 float restitution
           
 int solverBodyIdA
           
 int solverBodyIdB
           
 
Constructor Summary
SolverConstraint()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relpos1CrossNormal

public final Vector3f relpos1CrossNormal

contactNormal

public final Vector3f contactNormal

relpos2CrossNormal

public final Vector3f relpos2CrossNormal

angularComponentA

public final Vector3f angularComponentA

angularComponentB

public final Vector3f angularComponentB

appliedPushImpulse

public float appliedPushImpulse

appliedImpulse

public float appliedImpulse

solverBodyIdA

public int solverBodyIdA

solverBodyIdB

public int solverBodyIdB

friction

public float friction

restitution

public float restitution

jacDiagABInv

public float jacDiagABInv

penetration

public float penetration

constraintType

public SolverConstraintType constraintType

frictionIndex

public int frictionIndex

originalContactPoint

public Object originalContactPoint
Constructor Detail

SolverConstraint

public SolverConstraint()