BulletPoint2PointConstraint (object)¶
point to point constraint between two rigidbodies each with a pivotpoint that descibes the ‘ballsocket’ location in local space
Members¶
Data | pointer | |
BulletRigidBody | rbA | |
BulletRigidBody | rbB |
Methods¶
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 )