|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bulletphysics.dynamics.constraintsolver.RotationalLimitMotor
public class RotationalLimitMotor
Rotation limit structure for generic joints.
Field Summary | |
---|---|
float |
accumulatedImpulse
|
float |
bounce
|
int |
currentLimit
|
float |
currentLimitError
|
float |
damping
|
boolean |
enableMotor
|
float |
ERP
|
float |
hiLimit
|
float |
limitSoftness
|
float |
loLimit
|
float |
maxLimitForce
|
float |
maxMotorForce
|
float |
targetVelocity
|
Constructor Summary | |
---|---|
RotationalLimitMotor()
|
|
RotationalLimitMotor(RotationalLimitMotor limot)
|
Method Summary | |
---|---|
boolean |
isLimited()
Is limited? |
boolean |
needApplyTorques()
Need apply correction? |
float |
solveAngularLimits(float timeStep,
Vector3f axis,
float jacDiagABInv,
RigidBody body0,
RigidBody body1)
Apply the correction impulses for two bodies. |
int |
testLimitValue(float test_value)
Calculates error. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float loLimit
public float hiLimit
public float targetVelocity
public float maxMotorForce
public float maxLimitForce
public float damping
public float limitSoftness
public float ERP
public float bounce
public boolean enableMotor
public float currentLimitError
public int currentLimit
public float accumulatedImpulse
Constructor Detail |
---|
public RotationalLimitMotor()
public RotationalLimitMotor(RotationalLimitMotor limot)
Method Detail |
---|
public boolean isLimited()
public boolean needApplyTorques()
public int testLimitValue(float test_value)
public float solveAngularLimits(float timeStep, Vector3f axis, float jacDiagABInv, RigidBody body0, RigidBody body1)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |