|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.dynamics.constraintsolver.TranslationalLimitMotor
public class TranslationalLimitMotor
| Field Summary | |
|---|---|
Vector3f |
accumulatedImpulse
|
float |
damping
|
float |
limitSoftness
|
Vector3f |
lowerLimit
|
float |
restitution
|
Vector3f |
upperLimit
|
| Constructor Summary | |
|---|---|
TranslationalLimitMotor()
|
|
TranslationalLimitMotor(TranslationalLimitMotor other)
|
|
| Method Summary | |
|---|---|
boolean |
isLimited(int limitIndex)
Test limit. |
float |
solveLinearAxis(float timeStep,
float jacDiagABInv,
RigidBody body1,
Vector3f pointInA,
RigidBody body2,
Vector3f pointInB,
int limit_index,
Vector3f axis_normal_on_a,
Vector3f anchorPos)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Vector3f lowerLimit
public final Vector3f upperLimit
public final Vector3f accumulatedImpulse
public float limitSoftness
public float damping
public float restitution
| Constructor Detail |
|---|
public TranslationalLimitMotor()
public TranslationalLimitMotor(TranslationalLimitMotor other)
| Method Detail |
|---|
public boolean isLimited(int limitIndex)
- free means upper < lower,
- locked means upper == lower
- limited means upper > lower
- limitIndex: first 3 are linear, next 3 are angular
public float solveLinearAxis(float timeStep,
float jacDiagABInv,
RigidBody body1,
Vector3f pointInA,
RigidBody body2,
Vector3f pointInB,
int limit_index,
Vector3f axis_normal_on_a,
Vector3f anchorPos)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||