BulletHingeConstraint (object)¶
hinge constraint between two rigidbodies each with a pivotpoint that descibes the axis location in local space axis defines the orientation of the hinge axis
Members¶
Data | pointer | |
BulletRigidBody | rbA | |
BulletRigidBody | rbB |
Methods¶
BulletHingeConstraint ( in BulletHingeConstraint other ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB, in Boolean useReferenceFrameA ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame, in Boolean useReferenceFrameA ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA, in Boolean useReferenceFrameA ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame ) | |
BulletHingeConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame, in Boolean useReferenceFrameA ) | |
BulletHingeConstraint () | |
__construct ! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB, in Boolean useReferenceFrameA ) | |
__construct ! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame, in Boolean useReferenceFrameA ) | |
__construct ! ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA, in Boolean useReferenceFrameA ) | |
__construct ! ( in BulletRigidBody rbA, in Xfo rbAFrame, in Boolean useReferenceFrameA ) | |
BulletHingeConstraint | clone ? () |
enableAngularMotor ! ( in Boolean enableMotor, in Scalar targetVelocity, in Scalar maxMotorImpulse ) | |
enableFeedback ! ( in Boolean needsFeedback ) | |
enableMotor ! ( in Boolean enableMotor ) | |
Xfo | getAFrame ? () |
Boolean | getAngularOnly ? () |
Scalar | getAppliedImpulse ? () |
Xfo | getBFrame ? () |
Scalar | getBreakingImpulseThreshold ? () |
UInt32 | getConstraintType ? () |
Boolean | getEnableAngularMotor ? () |
Xfo | getFrameOffsetA ? () |
Xfo | getFrameOffsetB ? () |
Scalar | getHingeAngle ? () |
Scalar | getLimitSign ? () |
Scalar | getLowerLimit ? () |
Scalar | getMaxMotorImpulse ? () |
Scalar | getMotorTargetVelosity ? () |
Scalar | getParam ? ( in Integer num ) |
Scalar | getParam ? ( in Integer num, in Integer axis ) |
Data | getPointer ? () |
BulletRigidBody | getRigidBodyA ? () |
BulletRigidBody | getRigidBodyB ? () |
Integer | getSolveLimit ? () |
Scalar | getUpperLimit ? () |
Boolean | getUseFrameOffset ? () |
Boolean | isEnabled ? () |
Boolean | needsFeedback ? () |
setAngularOnly ! ( in Boolean angularOnly ) | |
setAxis ! ( in Vec3 axisInA ) | |
setBreakingImpulseThreshold ! ( in Scalar threshold ) | |
setEnabled ! ( in Boolean enabled ) | |
setFrames ! ( in Xfo frameA, in Xfo frameB ) | |
setLimit ! ( in Scalar low, in Scalar high ) | |
setLimit ! ( in Scalar low, in Scalar high, in Scalar _softness ) | |
setLimit ! ( in Scalar low, in Scalar high, in Scalar _softness, in Scalar _biasFactor ) | |
setLimit ! ( in Scalar low, in Scalar high, in Scalar _softness, in Scalar _biasFactor, in Scalar _relaxationFactor ) | |
setMaxMotorImpulse ! ( in Scalar maxMotorImpulse ) | |
setMotorTarget ! ( in Quat qAinB, in Scalar dt ) | |
setParam ! ( in Integer num, in Scalar value ) | |
setParam ! ( in Integer num, in Scalar value, in Integer axis ) | |
setUseFrameOffset ! ( in Boolean frameOffsetOnOff ) | |
testLimit ! ( in Xfo transA, in Xfo transB ) | |
~BulletHingeConstraint () |
Methods in detail¶
BulletHingeConstraint ( in BulletHingeConstraint other )
copy constructor
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB )
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB, in Boolean useReferenceFrameA )
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame )
BulletHingeConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame, in Boolean useReferenceFrameA )
BulletHingeConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA )
BulletHingeConstraint ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA, in Boolean useReferenceFrameA )
BulletHingeConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame )
BulletHingeConstraint ( in BulletRigidBody rbA, in Xfo rbAFrame, in Boolean useReferenceFrameA )
default constructor
BulletHingeConstraint.__construct! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 pivotInA, in Vec3 pivotInB, in Vec3 axisInA, in Vec3 axisInB, in Boolean useReferenceFrameA )
BulletHingeConstraint.__construct! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Xfo rbAFrame, in Xfo rbBFrame, in Boolean useReferenceFrameA )
BulletHingeConstraint.__construct! ( in BulletRigidBody rbA, in Vec3 pivotInA, in Vec3 axisInA, in Boolean useReferenceFrameA )
BulletHingeConstraint.__construct! ( in BulletRigidBody rbA, in Xfo rbAFrame, in Boolean useReferenceFrameA )
BulletHingeConstraint BulletHingeConstraint.clone? ()
clone method
BulletHingeConstraint.enableAngularMotor! ( in Boolean enableMotor, in Scalar targetVelocity, in Scalar maxMotorImpulse )
BulletHingeConstraint.enableFeedback! ( in Boolean needsFeedback )
enableFeedback will allow to read the applied linear and angular impulse use getAppliedImpulse, getAppliedLinearImpulse and getAppliedAngularImpulse to read feedback information
BulletHingeConstraint.enableMotor! ( in Boolean enableMotor )
Xfo BulletHingeConstraint.getAFrame? ()
Boolean BulletHingeConstraint.getAngularOnly? ()
Scalar BulletHingeConstraint.getAppliedImpulse? ()
getAppliedImpulse is an estimated total applied impulse. This feedback could be used to determine breaking constraints or playing sounds.
Xfo BulletHingeConstraint.getBFrame? ()
Scalar BulletHingeConstraint.getBreakingImpulseThreshold? ()
UInt32 BulletHingeConstraint.getConstraintType? ()
Boolean BulletHingeConstraint.getEnableAngularMotor? ()
Xfo BulletHingeConstraint.getFrameOffsetA? ()
Xfo BulletHingeConstraint.getFrameOffsetB? ()
Scalar BulletHingeConstraint.getHingeAngle? ()
Scalar BulletHingeConstraint.getLimitSign? ()
Scalar BulletHingeConstraint.getLowerLimit? ()
Scalar BulletHingeConstraint.getMaxMotorImpulse? ()
Scalar BulletHingeConstraint.getMotorTargetVelosity? ()
Scalar BulletHingeConstraint.getParam? ( in Integer num )
return the local value of parameter
Scalar BulletHingeConstraint.getParam? ( in Integer num, in Integer axis )
return the local value of parameter
Data BulletHingeConstraint.getPointer? ()
BulletRigidBody BulletHingeConstraint.getRigidBodyA? ()
BulletRigidBody BulletHingeConstraint.getRigidBodyB? ()
Integer BulletHingeConstraint.getSolveLimit? ()
Scalar BulletHingeConstraint.getUpperLimit? ()
Boolean BulletHingeConstraint.getUseFrameOffset? ()
Boolean BulletHingeConstraint.isEnabled? ()
Boolean BulletHingeConstraint.needsFeedback? ()
BulletHingeConstraint.setAngularOnly! ( in Boolean angularOnly )
BulletHingeConstraint.setAxis! ( in Vec3 axisInA )
BulletHingeConstraint.setBreakingImpulseThreshold! ( in Scalar threshold )
BulletHingeConstraint.setEnabled! ( in Boolean enabled )
BulletHingeConstraint.setFrames! ( in Xfo frameA, in Xfo frameB )
BulletHingeConstraint.setLimit! ( in Scalar low, in Scalar high )
BulletHingeConstraint.setLimit! ( in Scalar low, in Scalar high, in Scalar _softness )
BulletHingeConstraint.setLimit! ( in Scalar low, in Scalar high, in Scalar _softness, in Scalar _biasFactor )
BulletHingeConstraint.setLimit! ( in Scalar low, in Scalar high, in Scalar _softness, in Scalar _biasFactor, in Scalar _relaxationFactor )
BulletHingeConstraint.setMaxMotorImpulse! ( in Scalar maxMotorImpulse )
BulletHingeConstraint.setMotorTarget! ( in Quat qAinB, in Scalar dt )
BulletHingeConstraint.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.
BulletHingeConstraint.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.
BulletHingeConstraint.setUseFrameOffset! ( in Boolean frameOffsetOnOff )
BulletHingeConstraint.testLimit! ( in Xfo transA, in Xfo transB )