public class btGeneric6DofSpringConstraint extends btGeneric6DofConstraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2className| Constructor and Description |
|---|
btGeneric6DofSpringConstraint(btRigidBody rbA,
btRigidBody rbB,
Matrix4 frameInA,
Matrix4 frameInB,
boolean useLinearReferenceFrameA) |
btGeneric6DofSpringConstraint(btRigidBody rbB,
Matrix4 frameInB,
boolean useLinearReferenceFrameB) |
btGeneric6DofSpringConstraint(long cPtr,
boolean cMemoryOwn)
Construct a new btGeneric6DofSpringConstraint, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableSpring(int index,
boolean onOff) |
static long |
getCPtr(btGeneric6DofSpringConstraint obj) |
float |
getDamping(int index) |
float |
getEquilibriumPoint(int index) |
float |
getStiffness(int index) |
boolean |
isSpringEnabled(int index) |
void |
operatorDelete(long ptr) |
void |
operatorDelete(long arg0,
long arg1) |
void |
operatorDeleteArray(long ptr) |
void |
operatorDeleteArray(long arg0,
long arg1) |
long |
operatorNew(long sizeInBytes) |
long |
operatorNew(long arg0,
long ptr) |
long |
operatorNewArray(long sizeInBytes) |
long |
operatorNewArray(long arg0,
long ptr) |
void |
setAxis(Vector3 axis1,
Vector3 axis2) |
void |
setDamping(int index,
float damping) |
void |
setEquilibriumPoint() |
void |
setEquilibriumPoint(int index) |
void |
setEquilibriumPoint(int index,
float val) |
void |
setStiffness(int index,
float stiffness) |
calcAnchorPos, calculateTransforms, calculateTransforms, get_limit_motor_info2, get_limit_motor_info2, getAngle, getAngularLowerLimit, getAngularUpperLimit, getAxis, getCalculatedTransformA, getCalculatedTransformB, getCPtr, getFlags, getFrameOffsetA, getFrameOffsetAConst, getFrameOffsetB, getFrameOffsetBConst, getInfo1NonVirtual, getInfo2NonVirtual, getLinearLowerLimit, getLinearUpperLimit, getParam, getParam, getRelativePivotPosition, getRotationalLimitMotor, getTranslationalLimitMotor, getUseFrameOffset, getUseLinearReferenceFrameA, getUseSolveConstraintObsolete, isLimited, setAngularLowerLimit, setAngularUpperLimit, setFrames, setLimit, setLinearLowerLimit, setLinearUpperLimit, setParam, setParam, setUseFrameOffset, setUseLinearReferenceFrameA, setUseSolveConstraintObsolete, testAngularLimitMotor, updateRHSbuildJacobian, calculateSerializeBufferSize, enableFeedback, getAppliedImpulse, getBreakingImpulseThreshold, getConstraintType, getCPtr, getDbgDrawSize, getFixedBody, getInfo1, getInfo2, getJointFeedback, getJointFeedbackConst, getOverrideNumSolverIterations, getRigidBodyA, getRigidBodyAConst, getRigidBodyB, getRigidBodyBConst, getUid, getUserConstraintId, getUserConstraintPtr, getUserConstraintType, internalGetAppliedImpulse, internalSetAppliedImpulse, isEnabled, needsFeedback, serialize, setBreakingImpulseThreshold, setDbgDrawSize, setEnabled, setJointFeedback, setOverrideNumSolverIterations, setupSolverConstraint, setUserConstraintId, setUserConstraintPtr, setUserConstraintType, solveConstraintObsoletegetCPtr, getObjectType, setObjectTypedispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btGeneric6DofSpringConstraint(long cPtr,
boolean cMemoryOwn)
public btGeneric6DofSpringConstraint(btRigidBody rbA, btRigidBody rbB, Matrix4 frameInA, Matrix4 frameInB, boolean useLinearReferenceFrameA)
public btGeneric6DofSpringConstraint(btRigidBody rbB, Matrix4 frameInB, boolean useLinearReferenceFrameB)
public static long getCPtr(btGeneric6DofSpringConstraint obj)
public long operatorNew(long sizeInBytes)
operatorNew in class btGeneric6DofConstraintpublic void operatorDelete(long ptr)
operatorDelete in class btGeneric6DofConstraintpublic long operatorNew(long arg0,
long ptr)
operatorNew in class btGeneric6DofConstraintpublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btGeneric6DofConstraintpublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btGeneric6DofConstraintpublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btGeneric6DofConstraintpublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btGeneric6DofConstraintpublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btGeneric6DofConstraintpublic void enableSpring(int index,
boolean onOff)
public void setStiffness(int index,
float stiffness)
public void setDamping(int index,
float damping)
public void setEquilibriumPoint()
public void setEquilibriumPoint(int index)
public void setEquilibriumPoint(int index,
float val)
public boolean isSpringEnabled(int index)
public float getStiffness(int index)
public float getDamping(int index)
public float getEquilibriumPoint(int index)
public void setAxis(Vector3 axis1, Vector3 axis2)
setAxis in class btGeneric6DofConstraintCopyright © 2021. All rights reserved.