BulletTypedConstraint.kl

Interfaces

BulletTypedConstraint (interface)

TypedConstraint is the baseclass for Bullet constraints and vehicles

BulletTypedConstraint BulletTypedConstraint BulletTypedConstraint BulletConeTwistConstraint BulletConeTwistConstraint BulletConeTwistConstraint->BulletTypedConstraint BulletGeneric6DofConstraint BulletGeneric6DofConstraint BulletGeneric6DofConstraint->BulletTypedConstraint BulletHingeConstraint BulletHingeConstraint BulletHingeConstraint->BulletTypedConstraint BulletPoint2PointConstraint BulletPoint2PointConstraint BulletPoint2PointConstraint->BulletTypedConstraint BulletSliderConstraint BulletSliderConstraint BulletSliderConstraint->BulletTypedConstraint BulletUniversalConstraint BulletUniversalConstraint BulletUniversalConstraint->BulletTypedConstraint

Functions

  enableFeedback ! ( in Boolean needsFeedback )
Scalar getAppliedImpulse ? ()
Scalar getBreakingImpulseThreshold ? ()
UInt32 getConstraintType ? ()
Scalar getParam ? ( in Integer num, in Integer axis )
Data getPointer ? ()
BulletRigidBody getRigidBodyA ? ()
BulletRigidBody getRigidBodyB ? ()
Boolean isEnabled ? ()
Boolean needsFeedback ? ()
  setBreakingImpulseThreshold ! ( in Scalar threshold )
  setEnabled ! ( in Boolean enabled )
  setParam ! ( in Integer num, in Scalar value, in Integer axis )

Functions in detail

BulletTypedConstraint.enableFeedback! ( in Boolean needsFeedback )

enableFeedback will allow to read the applied linear and angular impulse use getAppliedImpulse, getAppliedLinearImpulse and getAppliedAngularImpulse to read feedback information


Scalar BulletTypedConstraint.getAppliedImpulse? ()

getAppliedImpulse is an estimated total applied impulse. This feedback could be used to determine breaking constraints or playing sounds.


Scalar BulletTypedConstraint.getBreakingImpulseThreshold? ()


UInt32 BulletTypedConstraint.getConstraintType? ()


Scalar BulletTypedConstraint.getParam? ( in Integer num, in Integer axis )

return the local value of parameter


Data BulletTypedConstraint.getPointer? ()


BulletRigidBody BulletTypedConstraint.getRigidBodyA? ()


BulletRigidBody BulletTypedConstraint.getRigidBodyB? ()


Boolean BulletTypedConstraint.isEnabled? ()


Boolean BulletTypedConstraint.needsFeedback? ()


BulletTypedConstraint.setBreakingImpulseThreshold! ( in Scalar threshold )


BulletTypedConstraint.setEnabled! ( in Boolean enabled )


BulletTypedConstraint.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.