BulletConeTwistConstraint (object)¶
BulletConeTwistConstraint can be used to simulate ragdoll joints (upper arm, leg etc)
Members¶
Data | pointer | |
BulletRigidBody | rbA | |
BulletRigidBody | rbB |
Methods¶
Methods in detail¶
BulletConeTwistConstraint ( in BulletConeTwistConstraint other )
copy constructor
BulletConeTwistConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame )
BulletConeTwistConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame )
default constructor
Vec3 BulletConeTwistConstraint.GetPointForAngle? ( in Scalar fAngleInRadians, in Scalar fLength )
BulletConeTwistConstraint.__construct! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame )
BulletConeTwistConstraint.__construct! ( in BulletRigidBody rbA, in Xfo rbAFrame )
BulletConeTwistConstraint.buildJacobian! ()
BulletConeTwistConstraint.calcAngleInfo! ()
BulletConeTwistConstraint.calcAngleInfo2! ( in Xfo transA, in Xfo transB, in Mat33 invInertiaWorldA, in Mat33 invInertiaWorldB )
BulletConeTwistConstraint BulletConeTwistConstraint.clone? ()
clone method
BulletConeTwistConstraint.enableFeedback! ( in Boolean needsFeedback )
enableFeedback will allow to read the applied linear and angular impulse use getAppliedImpulse, getAppliedLinearImpulse and getAppliedAngularImpulse to read feedback information
BulletConeTwistConstraint.enableMotor! ( in Boolean b )
Xfo BulletConeTwistConstraint.getAFrame? ()
Scalar BulletConeTwistConstraint.getAppliedImpulse? ()
getAppliedImpulse is an estimated total applied impulse. This feedback could be used to determine breaking constraints or playing sounds.
Xfo BulletConeTwistConstraint.getBFrame? ()
Scalar BulletConeTwistConstraint.getBreakingImpulseThreshold? ()
UInt32 BulletConeTwistConstraint.getConstraintType? ()
Scalar BulletConeTwistConstraint.getFixThresh? ()
Xfo BulletConeTwistConstraint.getFrameOffsetA? ()
Xfo BulletConeTwistConstraint.getFrameOffsetB? ()
Scalar BulletConeTwistConstraint.getParam? ( in Integer num )
return the local value of parameter
Scalar BulletConeTwistConstraint.getParam? ( in Integer num, in Integer axis )
return the local value of parameter
Data BulletConeTwistConstraint.getPointer? ()
BulletRigidBody BulletConeTwistConstraint.getRigidBodyA? ()
BulletRigidBody BulletConeTwistConstraint.getRigidBodyB? ()
Integer BulletConeTwistConstraint.getSolveSwingLimit? ()
Integer BulletConeTwistConstraint.getSolveTwistLimit? ()
Scalar BulletConeTwistConstraint.getSwingSpan1? ()
Scalar BulletConeTwistConstraint.getSwingSpan2? ()
Scalar BulletConeTwistConstraint.getTwistAngle? ()
Scalar BulletConeTwistConstraint.getTwistLimitSign? ()
Scalar BulletConeTwistConstraint.getTwistSpan? ()
Boolean BulletConeTwistConstraint.isEnabled? ()
Boolean BulletConeTwistConstraint.isPastSwingLimit? ()
Boolean BulletConeTwistConstraint.needsFeedback? ()
BulletConeTwistConstraint.setAngularOnly! ( in Boolean angularOnly )
BulletConeTwistConstraint.setBreakingImpulseThreshold! ( in Scalar threshold )
BulletConeTwistConstraint.setDamping! ( in Scalar damping )
BulletConeTwistConstraint.setEnabled! ( in Boolean enabled )
BulletConeTwistConstraint.setFixThresh! ( in Scalar fixThresh )
BulletConeTwistConstraint.setFrames! ( in Xfo frameA, in Xfo frameB )
BulletConeTwistConstraint.setLimit! ( in Integer limitIndex, in Scalar limitValue )
BulletConeTwistConstraint.setLimit! ( in Scalar _swingSpan1, in Scalar _swingSpan2, in Scalar _twistSpan )
BulletConeTwistConstraint.setLimit! ( in Scalar _swingSpan1, in Scalar _swingSpan2, in Scalar _twistSpan, in Scalar _softness, in Scalar _biasFactor, in Scalar _relaxationFactor )
BulletConeTwistConstraint.setMaxMotorImpulse! ( in Scalar maxMotorImpulse )
BulletConeTwistConstraint.setMaxMotorImpulseNormalized! ( in Scalar maxMotorImpulse )
BulletConeTwistConstraint.setMotorTarget! ( in Quat q )
BulletConeTwistConstraint.setMotorTargetInConstraintSpace! ( in Quat q )
BulletConeTwistConstraint.setParam! ( in Integer num, in Scalar value )
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5). If no axis is provided, it uses the default axis for this constraint.
BulletConeTwistConstraint.setParam! ( in Integer num, in Scalar value, in Integer axis )
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5). If no axis is provided, it uses the default axis for this constraint.
BulletConeTwistConstraint.updateRHS! ( in Scalar timeStep )