BulletConeTwistConstraint (object)

BulletConeTwistConstraint can be used to simulate ragdoll joints (upper arm, leg etc)

BulletConeTwistConstraint BulletConeTwistConstraint BulletConeTwistConstraint BulletTypedConstraint BulletTypedConstraint BulletConeTwistConstraint->BulletTypedConstraint

Members

Data pointer  
BulletRigidBody rbA  
BulletRigidBody rbB  

Methods

  BulletConeTwistConstraint ( in BulletConeTwistConstraint other )
  BulletConeTwistConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame )
  BulletConeTwistConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame )
  BulletConeTwistConstraint ()
Vec3 GetPointForAngle ? ( in Scalar fAngleInRadians, in Scalar fLength )
  __construct ! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame )
  __construct ! ( in BulletRigidBody rbA, in Xfo rbAFrame )
  buildJacobian ! ()
  calcAngleInfo ! ()
  calcAngleInfo2 ! ( in Xfo transA, in Xfo transB, in Mat33 invInertiaWorldA, in Mat33 invInertiaWorldB )
BulletConeTwistConstraint clone ? ()
  enableFeedback ! ( in Boolean needsFeedback )
  enableMotor ! ( in Boolean b )
Xfo getAFrame ? ()
Scalar getAppliedImpulse ? ()
Xfo getBFrame ? ()
Scalar getBreakingImpulseThreshold ? ()
UInt32 getConstraintType ? ()
Scalar getFixThresh ? ()
Xfo getFrameOffsetA ? ()
Xfo getFrameOffsetB ? ()
Scalar getParam ? ( in Integer num )
Scalar getParam ? ( in Integer num, in Integer axis )
Data getPointer ? ()
BulletRigidBody getRigidBodyA ? ()
BulletRigidBody getRigidBodyB ? ()
Integer getSolveSwingLimit ? ()
Integer getSolveTwistLimit ? ()
Scalar getSwingSpan1 ? ()
Scalar getSwingSpan2 ? ()
Scalar getTwistAngle ? ()
Scalar getTwistLimitSign ? ()
Scalar getTwistSpan ? ()
Boolean isEnabled ? ()
Boolean isPastSwingLimit ? ()
Boolean needsFeedback ? ()
  setAngularOnly ! ( in Boolean angularOnly )
  setBreakingImpulseThreshold ! ( in Scalar threshold )
  setDamping ! ( in Scalar damping )
  setEnabled ! ( in Boolean enabled )
  setFixThresh ! ( in Scalar fixThresh )
  setFrames ! ( in Xfo frameA, in Xfo frameB )
  setLimit ! ( in Integer limitIndex, in Scalar limitValue )
  setLimit ! ( in Scalar _swingSpan1, in Scalar _swingSpan2, in Scalar _twistSpan )
  setLimit ! ( in Scalar _swingSpan1, in Scalar _swingSpan2, in Scalar _twistSpan, in Scalar _softness, in Scalar _biasFactor, in Scalar _relaxationFactor )
  setMaxMotorImpulse ! ( in Scalar maxMotorImpulse )
  setMaxMotorImpulseNormalized ! ( in Scalar maxMotorImpulse )
  setMotorTarget ! ( in Quat q )
  setMotorTargetInConstraintSpace ! ( in Quat q )
  setParam ! ( in Integer num, in Scalar value )
  setParam ! ( in Integer num, in Scalar value, in Integer axis )
  updateRHS ! ( in Scalar timeStep )
  ~BulletConeTwistConstraint ()

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 )


BulletConeTwistConstraint ()

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 )


~ BulletConeTwistConstraint ()