public class btTranslationalLimitMotor extends BulletBase
className| Constructor and Description |
|---|
btTranslationalLimitMotor() |
btTranslationalLimitMotor(btTranslationalLimitMotor other) |
btTranslationalLimitMotor(long cPtr,
boolean cMemoryOwn)
Construct a new btTranslationalLimitMotor, normally you should not need this constructor it's intended for low-level usage.
|
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btTranslationalLimitMotor(long cPtr,
boolean cMemoryOwn)
public btTranslationalLimitMotor()
public btTranslationalLimitMotor(btTranslationalLimitMotor other)
public static long getCPtr(btTranslationalLimitMotor obj)
public void setLowerLimit(btVector3 value)
public btVector3 getLowerLimit()
public void setUpperLimit(btVector3 value)
public btVector3 getUpperLimit()
public void setAccumulatedImpulse(btVector3 value)
public btVector3 getAccumulatedImpulse()
public void setLimitSoftness(float value)
public float getLimitSoftness()
public void setDamping(float value)
public float getDamping()
public void setRestitution(float value)
public float getRestitution()
public void setNormalCFM(btVector3 value)
public btVector3 getNormalCFM()
public void setStopERP(btVector3 value)
public btVector3 getStopERP()
public void setStopCFM(btVector3 value)
public btVector3 getStopCFM()
public void setEnableMotor(boolean[] value)
public boolean[] getEnableMotor()
public void setTargetVelocity(btVector3 value)
public btVector3 getTargetVelocity()
public void setMaxMotorForce(btVector3 value)
public btVector3 getMaxMotorForce()
public void setCurrentLimitError(btVector3 value)
public btVector3 getCurrentLimitError()
public void setCurrentLinearDiff(btVector3 value)
public btVector3 getCurrentLinearDiff()
public void setCurrentLimit(int[] value)
public int[] getCurrentLimit()
public boolean isLimited(int limitIndex)
public boolean needApplyForce(int limitIndex)
public int testLimitValue(int limitIndex,
float test_value)
public float solveLinearAxis(float timeStep,
float jacDiagABInv,
btRigidBody body1,
Vector3 pointInA,
btRigidBody body2,
Vector3 pointInB,
int limit_index,
Vector3 axis_normal_on_a,
Vector3 anchorPos)
Copyright © 2021. All rights reserved.