24 #define UNIV_EPS btScalar(0.01f)
51 xAxis[1], yAxis[1], zAxis[1],
52 xAxis[2], yAxis[2], zAxis[2]);
76 xAxis[1], yAxis[1], zAxis[1],
77 xAxis[2], yAxis[2], zAxis[2]);
btGeneric6DofConstraint between two rigidbodies each with a pivotpoint that descibes the axis locatio...
void setAngularUpperLimit(const btVector3 &angularUpper)
void setAxis(const btVector3 &axis1, const btVector3 &axis2)
btVector3 & normalize()
Normalize this vector x^2 + y^2 + z^2 = 1.
void calculateTransforms()
const btTransform & getCenterOfMassTransform() const
btVector3 cross(const btVector3 &v) const
Return the cross product between this and another vector.
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 can be used to represent 3D points and vectors.
btTransform m_frameInA
relative_frames
btVector3 normalized() const
Return a normalized version of this vector.
btTransform m_frameInB
the constraint space w.r.t body B
void setLinearLowerLimit(const btVector3 &linearLower)
btUniversalConstraint(btRigidBody &rbA, btRigidBody &rbB, const btVector3 &anchor, const btVector3 &axis1, const btVector3 &axis2)
void setLinearUpperLimit(const btVector3 &linearUpper)
void setAngularLowerLimit(const btVector3 &angularLower)