BulletUniversalConstraint.kl

Types

BulletUniversalConstraint (object)

Constraint similar to ODE Universal Joint has 2 rotational degrees of freedom, similar to Euler rotations around Z (axis 1) and Y (axis 2) Description from ODE manual : “Given axis 1 on body 1, and axis 2 on body 2 that is perpendicular to axis 1, it keeps them perpendicular. In other words, rotation of the two bodies about the direction perpendicular to the two axes will be equal.”

Members

Data pointer  
BulletRigidBody rbA  
BulletRigidBody rbB  

Methods

  BulletUniversalConstraint ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 anchor, in Vec3 axis1, in Vec3 axis2 )
  BulletUniversalConstraint ( in BulletUniversalConstraint other )
  BulletUniversalConstraint ()
  __construct ! ( in BulletRigidBody rbA, in BulletRigidBody rbB, in Vec3 anchor, in Vec3 axis1, in Vec3 axis2 )
  buildJacobian ! ()
  calculateTransforms ! ( in Xfo transA, in Xfo transB )
BulletUniversalConstraint clone ? ()
  enableFeedback ! ( in Boolean needsFeedback )
Vec3 getAnchor2 ? ()
Vec3 getAnchor ? ()
Scalar getAngle1 ? ()
Scalar getAngle2 ? ()
Scalar getAngle ? ( in Integer axis_index )
  getAngularLowerLimit ? ( io Vec3 angularLower )
  getAngularUpperLimit ? ( io Vec3 angularUpper )
Scalar getAppliedImpulse ? ()
Vec3 getAxis1 ? ()
Vec3 getAxis2 ? ()
Vec3 getAxis ? ( in Integer axis_index )
Scalar getBreakingImpulseThreshold ? ()
Xfo getCalculatedTransformA ? ()
Xfo getCalculatedTransformB ? ()
UInt32 getConstraintType ? ()
Xfo getFrameOffsetA ? ()
Xfo getFrameOffsetB ? ()
  getLinearLowerLimit ? ( io Vec3 linearLower )
  getLinearUpperLimit ? ( io Vec3 linearUpper )
Scalar getParam ? ( in Integer num )
Scalar getParam ? ( in Integer num, in Integer axis )
Data getPointer ? ()
Scalar getRelativePivotPosition ? ( in Integer axis_index )
BulletRigidBody getRigidBodyA ? ()
BulletRigidBody getRigidBodyB ? ()
BulletRotationalLimitMotor getRotationalLimitMotor ? ( in Integer index )
BulletTranslationalLimitMotor getTranslationalLimitMotor ? ()
Boolean getUseFrameOffset ? ()
Boolean isEnabled ? ()
Boolean isLimited ? ( in Integer limitIndex )
Boolean needsFeedback ? ()
  setAngularLowerLimit ! ( in Vec3 angularLower )
  setAngularUpperLimit ! ( in Vec3 angularUpper )
  setAxis ! ( in Vec3 axis1, in Vec3 axis2 )
  setBreakingImpulseThreshold ! ( in Scalar threshold )
  setEnabled ! ( in Boolean enabled )
  setFrames ! ( in Xfo frameA, in Xfo frameB )
  setLimit ! ( in Integer axis, in Scalar lo, in Scalar hi )
  setLinearLowerLimit ! ( in Vec3 linearLower )
  setLinearUpperLimit ! ( in Vec3 linearUpper )
  setLowerLimit ! ( in Scalar ang1min, in Scalar ang2min )
  setParam ! ( in Integer num, in Scalar value )
  setParam ! ( in Integer num, in Scalar value, in Integer axis )
  setUpperLimit ! ( in Scalar ang1max, in Scalar ang2max )
  setUseFrameOffset ! ( in Boolean frameOffsetOnOff )
Boolean testAngularLimitMotor ? ( in Integer axis_index )
  updateRHS ! ( in Scalar timeStep )
  ~BulletUniversalConstraint ()