public class btMultiBodyJointMotor extends btMultiBodyConstraint
className| Constructor and Description |
|---|
btMultiBodyJointMotor(btMultiBody body,
int link,
float desiredVelocity,
float maxMotorImpulse) |
btMultiBodyJointMotor(btMultiBody body,
int link,
int linkDoF,
float desiredVelocity,
float maxMotorImpulse) |
btMultiBodyJointMotor(long cPtr,
boolean cMemoryOwn)
Construct a new btMultiBodyJointMotor, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
getCPtr(btMultiBodyJointMotor obj) |
float |
getErp() |
void |
setPositionTarget(float posTarget) |
void |
setPositionTarget(float posTarget,
float kp) |
void |
setRhsClamp(float rhsClamp) |
void |
setVelocityTarget(float velTarget) |
void |
setVelocityTarget(float velTarget,
float kd) |
allocateJacobiansMultiDof, createConstraintRows, debugDraw, finalizeMultiDof, getAppliedImpulse, getCPtr, getIslandIdA, getIslandIdB, getMaxAppliedImpulse, getMultiBodyA, getMultiBodyB, getNumRows, getPosition, internalSetAppliedImpulse, isUnilateral, jacobianA, jacobianAConst, jacobianB, jacobianBConst, operatorDelete, operatorDelete, operatorDeleteArray, operatorDeleteArray, operatorNew, operatorNew, operatorNewArray, operatorNewArray, setErp, setFrameInB, setGearAuxLink, setGearRatio, setMaxAppliedImpulse, setPivotInB, setPosition, setRelativePositionTarget, updateJacobianSizesdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btMultiBodyJointMotor(long cPtr,
boolean cMemoryOwn)
public btMultiBodyJointMotor(btMultiBody body, int link, float desiredVelocity, float maxMotorImpulse)
public btMultiBodyJointMotor(btMultiBody body, int link, int linkDoF, float desiredVelocity, float maxMotorImpulse)
public static long getCPtr(btMultiBodyJointMotor obj)
public void setVelocityTarget(float velTarget,
float kd)
public void setVelocityTarget(float velTarget)
public void setPositionTarget(float posTarget,
float kp)
public void setPositionTarget(float posTarget)
public float getErp()
public void setRhsClamp(float rhsClamp)
Copyright © 2021. All rights reserved.