public class btHinge2Constraint extends btGeneric6DofSpring2Constraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2className| Constructor and Description |
|---|
btHinge2Constraint(btRigidBody rbA,
btRigidBody rbB,
Vector3 anchor,
Vector3 axis1,
Vector3 axis2) |
btHinge2Constraint(long cPtr,
boolean cMemoryOwn)
Construct a new btHinge2Constraint, 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(btHinge2Constraint obj) |
void |
setLowerLimit(float ang1min) |
void |
setUpperLimit(float ang1max) |
btGetMatrixElem, calculateTransforms, calculateTransforms, enableMotor, enableSpring, getAngle, getAngularLowerLimit, getAngularLowerLimitReversed, getAngularUpperLimit, getAngularUpperLimitReversed, getAxis, getCalculatedTransformA, getCalculatedTransformB, getCPtr, getFrameOffsetA, getFrameOffsetB, getLinearLowerLimit, getLinearUpperLimit, getParam, getParam, getRelativePivotPosition, getRotationalLimitMotor, getRotationOrder, getTranslationalLimitMotor, isLimited, matrixToEulerXYZ, matrixToEulerXZY, matrixToEulerYXZ, matrixToEulerYZX, matrixToEulerZXY, matrixToEulerZYX, setAngularLowerLimit, setAngularLowerLimitReversed, setAngularUpperLimit, setAngularUpperLimitReversed, setAxis, setBounce, setDamping, setDamping, setEquilibriumPoint, setEquilibriumPoint, setEquilibriumPoint, setFrames, setLimit, setLimitReversed, setLinearLowerLimit, setLinearUpperLimit, setMaxMotorForce, setParam, setParam, setRotationOrder, setServo, setServoTarget, setStiffness, setStiffness, setTargetVelocitybuildJacobian, 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 btHinge2Constraint(long cPtr,
boolean cMemoryOwn)
public btHinge2Constraint(btRigidBody rbA, btRigidBody rbB, Vector3 anchor, Vector3 axis1, Vector3 axis2)
public static long getCPtr(btHinge2Constraint obj)
public Vector3 getAnchor()
public Vector3 getAnchor2()
public Vector3 getAxis1()
public Vector3 getAxis2()
public float getAngle1()
public float getAngle2()
public void setUpperLimit(float ang1max)
public void setLowerLimit(float ang1min)
Copyright © 2017. All rights reserved.