public class TranslationalLimitMotor extends Object
| Modifier and Type | Field and Description |
|---|---|
Vector3f |
accumulatedImpulse |
float |
damping |
float |
limitSoftness |
Vector3f |
lowerLimit |
float |
restitution |
Vector3f |
upperLimit |
| Constructor and Description |
|---|
TranslationalLimitMotor() |
TranslationalLimitMotor(TranslationalLimitMotor other) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public final Vector3f lowerLimit
public final Vector3f upperLimit
public final Vector3f accumulatedImpulse
public float limitSoftness
public float damping
public float restitution
public TranslationalLimitMotor()
public TranslationalLimitMotor(TranslationalLimitMotor other)