Public Member Functions | Protected Attributes

OgreBulletDynamics::RigidBody Class Reference

Inheritance diagram for OgreBulletDynamics::RigidBody:
OgreBulletCollisions::Object OgreBulletDynamics::WheeledRigidBody

List of all members.

Public Member Functions

 RigidBody (const Ogre::String &name, DynamicsWorld *world, const short collisionGroup=0, const short collisionMask=0)
void setShape (Ogre::SceneNode *node, OgreBulletCollisions::CollisionShape *shape, const float bodyRestitution, const float bodyFriction, const float bodyMass, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO, const Ogre::Quaternion &quat=Ogre::Quaternion::IDENTITY)
void setStaticShape (Ogre::SceneNode *node, OgreBulletCollisions::CollisionShape *shape, const float bodyRestitution, const float bodyFriction, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO, const Ogre::Quaternion &quat=Ogre::Quaternion::IDENTITY)
void setStaticShape (btScaledBvhTriangleMeshShape *shape, const float bodyRestitution, const float bodyFriction, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO, const Ogre::Quaternion &quat=Ogre::Quaternion::IDENTITY)
void setStaticShape (OgreBulletCollisions::CollisionShape *shape, const float bodyRestitution, const float bodyFriction, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO, const Ogre::Quaternion &quat=Ogre::Quaternion::IDENTITY)
void setLinearVelocity (const Ogre::Vector3 &vel)
void setLinearVelocity (const Ogre::Real x, const Ogre::Real y, const Ogre::Real z)
Ogre::Vector3 getLinearVelocity ()
void applyImpulse (const Ogre::Vector3 &impulse, const Ogre::Vector3 &position)
void applyForce (const Ogre::Vector3 &impulse, const Ogre::Vector3 &position)
btRigidBody * getBulletRigidBody () const
btDynamicsWorld * getBulletDynamicsWorld () const
DynamicsWorldgetDynamicsWorld ()
Ogre::SceneNode * getSceneNode () const
bool isStaticObject () const
bool isKinematicObject () const
void setKinematicObject (bool isKinematic)
void disableDeactivation ()
void enableActiveState ()
void forceActivationState ()
void setDeactivationTime (const float ftime)
const btTransform & getCenterOfMassTransform () const
Ogre::Quaternion getCenterOfMassOrientation () const
Ogre::Vector3 getCenterOfMassPosition () const
Ogre::Vector3 getCenterOfMassPivot (const Ogre::Vector3 &pivotPosition) const
void setDamping (const Ogre::Real linearDamping, const Ogre::Real angularDamping)

Protected Attributes

short mCollisionGroup
short mCollisionMask

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