Public Member Functions

OgreBulletDynamics::SixDofConstraint Class Reference

Inheritance diagram for OgreBulletDynamics::SixDofConstraint:
OgreBulletDynamics::TypedConstraint

List of all members.

Public Member Functions

 SixDofConstraint (RigidBody *rbA, RigidBody *rbB, const Ogre::Vector3 &FrameInAVector, const Ogre::Quaternion &FrameInAOrientation, const Ogre::Vector3 &FrameInBVector, const Ogre::Quaternion &FrameInBOrientation)
void setLinearLowerLimit (const Ogre::Vector3 &linearLower)
void setLinearUpperLimit (const Ogre::Vector3 &linearUpper)
void setAngularLowerLimit (const Ogre::Vector3 &angularLower)
void setAngularUpperLimit (const Ogre::Vector3 &angularUpper)
void setLimit (const int axis, const Ogre::Real lo, const Ogre::Real hi)
bool isLimited (int limitIndex)
 Test limit.

Member Function Documentation

bool OgreBulletDynamics::SixDofConstraint::isLimited ( int  limitIndex  ) 

Test limit.

  • free means upper < lower,
  • locked means upper == lower
  • limited means upper > lower
  • limitIndex: first 3 are linear, next 3 are angular

The documentation for this class was generated from the following files:
All Classes Namespaces Functions