39         for(
int i = 0; i < 6; i++)
    51         btAssert((index >= 0) && (index < 6));
    67         btAssert((index >= 0) && (index < 6));
    74         btAssert((index >= 0) && (index < 6));
    84         for( i = 0; i < 3; i++)
    88         for(i = 0; i < 3; i++)
    98         btAssert((index >= 0) && (index < 6));
   112         btAssert((index >= 0) && (index < 6));
   122         for(i = 0; i < 3; i++)
   137         for(i = 0; i < 3; i++)
   174                                 xAxis[1], yAxis[1], zAxis[1],
   175                                 xAxis[2], yAxis[2], zAxis[2]);
 
void internalUpdateSprings(btConstraintInfo2 *info)
btGeneric6DofSpringConstraint(btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB, bool useLinearReferenceFrameA)
const btTransform & getCenterOfMassTransform() const
btGeneric6DofConstraint between two rigidbodies each with a pivotpoint that descibes the axis locatio...
btVector3 m_targetVelocity
target motor velocity 
void setStiffness(int index, btScalar stiffness)
btScalar m_springDamping[6]
btScalar m_equilibriumPoint[6]
btVector3 normalized() const
Return a normalized version of this vector. 
void calculateTransforms()
virtual void getInfo2(btConstraintInfo2 *info)
internal method used by the constraint solver, don't use them directly 
btVector3 m_calculatedAxisAngleDiff
btScalar m_springStiffness[6]
void enableSpring(int index, bool onOff)
void setEquilibriumPoint()
btVector3 cross(const btVector3 &v) const
Return the cross product between this and another vector. 
void setDamping(int index, btScalar damping)
btTranslationalLimitMotor m_linearLimits
Linear_Limit_parameters. 
btScalar m_targetVelocity
target motor velocity 
void setValue(const btScalar &xx, const btScalar &xy, const btScalar &xz, const btScalar &yx, const btScalar &yy, const btScalar &yz, const btScalar &zx, const btScalar &zy, const btScalar &zz)
Set the values of the matrix explicitly (row major) 
The btRigidBody is the main class for rigid body objects. 
btVector3 m_calculatedLinearDiff
btVector3 can be used to represent 3D points and vectors. 
btTransform m_frameInA
relative_frames 
virtual void getInfo2(btConstraintInfo2 *info)
internal method used by the constraint solver, don't use them directly 
btRotationalLimitMotor m_angularLimits[3]
hinge_parameters 
btTransform m_frameInB
the constraint space w.r.t body B 
btVector3 m_maxMotorForce
max force on motor 
virtual void setAxis(const btVector3 &axis1, const btVector3 &axis2)
btScalar m_maxMotorForce
max force on motor 
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btScalar btFabs(btScalar x)