BulletPoint2PointConstraint (object)

point to point constraint between two rigidbodies each with a pivotpoint that descibes the ‘ballsocket’ location in local space

BulletPoint2PointConstraint BulletPoint2PointConstraint BulletPoint2PointConstraint BulletTypedConstraint BulletTypedConstraint BulletPoint2PointConstraint->BulletTypedConstraint

Members

Data pointer  
BulletRigidBody rbA  
BulletRigidBody rbB  

Methods

  BulletPoint2PointConstraint ( in BulletPoint2PointConstraint other )
  BulletPoint2PointConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB )
  BulletPoint2PointConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA )
  BulletPoint2PointConstraint ()
  __construct ! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB )
  __construct ! ( in BulletRigidBody rbA, in Vec3 pivotInA )
  buildJacobian ! ()
BulletPoint2PointConstraint clone ? ()
  enableFeedback ! ( in Boolean needsFeedback )
Scalar getAppliedImpulse ? ()
Scalar getBreakingImpulseThreshold ? ()
UInt32 getConstraintType ? ()
Scalar getParam ? ( in Integer num )
Scalar getParam ? ( in Integer num, in Integer axis )
Vec3 getPivotInA ? ()
Vec3 getPivotInB ? ()
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 )
  setParam ! ( in Integer num, in Scalar value, in Integer axis )
  setPivotA ! ( in Vec3 pivotA )
  setPivotB ! ( in Vec3 pivotB )
  updateRHS ! ( in Scalar timeStep )
  ~BulletPoint2PointConstraint ()

Methods in detail

BulletPoint2PointConstraint ( in BulletPoint2PointConstraint other )

copy constructor


BulletPoint2PointConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB )


BulletPoint2PointConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA )


BulletPoint2PointConstraint ()

default constructor


BulletPoint2PointConstraint.__construct! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB )


BulletPoint2PointConstraint.__construct! ( in BulletRigidBody rbA, in Vec3 pivotInA )


BulletPoint2PointConstraint.buildJacobian! ()


BulletPoint2PointConstraint BulletPoint2PointConstraint.clone? ()

clone method


BulletPoint2PointConstraint.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 BulletPoint2PointConstraint.getAppliedImpulse? ()

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


Scalar BulletPoint2PointConstraint.getBreakingImpulseThreshold? ()

fills the dataBuffer and returns the struct name (and 0 on failure)


UInt32 BulletPoint2PointConstraint.getConstraintType? ()


Scalar BulletPoint2PointConstraint.getParam? ( in Integer num )

return the local value of parameter


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

return the local value of parameter


Vec3 BulletPoint2PointConstraint.getPivotInA? ()


Vec3 BulletPoint2PointConstraint.getPivotInB? ()


Data BulletPoint2PointConstraint.getPointer? ()


BulletRigidBody BulletPoint2PointConstraint.getRigidBodyA? ()


BulletRigidBody BulletPoint2PointConstraint.getRigidBodyB? ()


Boolean BulletPoint2PointConstraint.isEnabled? ()


Boolean BulletPoint2PointConstraint.needsFeedback? ()


BulletPoint2PointConstraint.setBreakingImpulseThreshold! ( in Scalar threshold )


BulletPoint2PointConstraint.setEnabled! ( in Boolean enabled )


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


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


BulletPoint2PointConstraint.setPivotA! ( in Vec3 pivotA )


BulletPoint2PointConstraint.setPivotB! ( in Vec3 pivotB )


BulletPoint2PointConstraint.updateRHS! ( in Scalar timeStep )


~ BulletPoint2PointConstraint ()