public class btUniversalConstraint extends btGeneric6DofConstraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2className| Constructor and Description |
|---|
btUniversalConstraint(btRigidBody rbA,
btRigidBody rbB,
Vector3 anchor,
Vector3 axis1,
Vector3 axis2) |
btUniversalConstraint(long cPtr,
boolean cMemoryOwn)
Construct a new btUniversalConstraint, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3 |
getAnchor() |
Vector3 |
getAnchor2() |
float |
getAngle1() |
float |
getAngle2() |
Vector3 |
getAxis1() |
Vector3 |
getAxis2() |
static long |
getCPtr(btUniversalConstraint obj) |
void |
setAxis(Vector3 axis1,
Vector3 axis2) |
void |
setLowerLimit(float ang1min,
float ang2min) |
void |
setUpperLimit(float ang1max,
float ang2max) |
calcAnchorPos, calculateTransforms, calculateTransforms, get_limit_motor_info2, get_limit_motor_info2, getAngle, getAngularLowerLimit, getAngularUpperLimit, getAxis, getCalculatedTransformA, getCalculatedTransformB, getCPtr, getFlags, getFrameOffsetA, getFrameOffsetB, 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, getOverrideNumSolverIterations, getRigidBodyA, getRigidBodyB, 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 btUniversalConstraint(long cPtr,
boolean cMemoryOwn)
public btUniversalConstraint(btRigidBody rbA, btRigidBody rbB, Vector3 anchor, Vector3 axis1, Vector3 axis2)
public static long getCPtr(btUniversalConstraint obj)
public Vector3 getAnchor()
public Vector3 getAnchor2()
public Vector3 getAxis1()
public Vector3 getAxis2()
public float getAngle1()
public float getAngle2()
public void setUpperLimit(float ang1max,
float ang2max)
public void setLowerLimit(float ang1min,
float ang2min)
public void setAxis(Vector3 axis1, Vector3 axis2)
setAxis in class btGeneric6DofConstraintCopyright © 2017. All rights reserved.