41 Body* getBody0()
const;
44 Body* getBody1()
const;
64 int getCollisionState()
const;
71 void setCollisionState(
int state )
const;
78 Ogre::Real getStiffness()
const;
85 void setStiffness( Ogre::Real stiffness )
const;
93 void addLinearRow(
const Ogre::Vector3& pt0,
const Ogre::Vector3& pt1,
const Ogre::Vector3& dir )
const;
96 void addAngularRow( Ogre::Radian relativeAngleError,
const Ogre::Vector3& dir )
const;
99 void addGeneralRow(
const Ogre::Vector3& linear0,
const Ogre::Vector3& angular0,
const Ogre::Vector3& linear1,
const Ogre::Vector3& angular1)
const;
102 void setRowMinimumFriction( Ogre::Real friction )
const;
105 void setRowMaximumFriction( Ogre::Real friction )
const;
108 void setRowStiffness( Ogre::Real stiffness )
const;
111 void setRowAcceleration( Ogre::Real accel )
const;
114 void setRowSpringDamper(Ogre::Real springK, Ogre::Real springD)
const;
119 static void _CDECL destructorCallback (
const CustomJoint* me);
122 static void _CDECL submitConstraintCallback (
const CustomJoint* me, dFloat timestep,
int threadIndex );
125 void SetSupportJoint (CustomJoint* supportJoint);
128 CustomJoint* GetSupportJoint ()
const;
139 void pinAndDirToLocal(
const Ogre::Vector3& pinpt,
const Ogre::Vector3& pindir, Ogre::Quaternion& localOrient0, Ogre::Vector3& localPos0, Ogre::Quaternion& localOrient1, Ogre::Vector3& localPos1 )
const;
140 void localToGlobal(
const Ogre::Quaternion& localOrient,
const Ogre::Vector3& localPos, Ogre::Quaternion& globalOrient, Ogre::Vector3& globalPos,
int bodyIndex )
const;
141 void localToGlobalVisual(
const Ogre::Quaternion& localOrient,
const Ogre::Vector3& localPos, Ogre::Quaternion& globalOrient, Ogre::Vector3& globalPos,
int bodyIndex )
const;
142 void globalToLocal(
const Ogre::Quaternion& globalOrient,
const Ogre::Vector3& globalPos, Ogre::Quaternion& localOrient, Ogre::Vector3& localPos,
int bodyIndex )
const;
143 Ogre::Quaternion grammSchmidt(
const Ogre::Vector3& pin )
const;
main class for all Rigid Bodies in the system.