Object is the Basic Bullet Collision representation of an Physical thing in a scene. It does need a Shape Object to know its "Geometrics" Bounds. More...
#include <OgreBulletCollisionsObject.h>
Public Member Functions | |
Object (const Ogre::String &name, CollisionsWorld *world, bool init) | |
virtual const Ogre::String & | getMovableType () const |
virtual void | _notifyAttached (Ogre::Node *parent, bool isTagPoint=false) |
virtual void | _notifyCurrentCamera (Ogre::Camera *camera) |
virtual const Ogre::AxisAlignedBox & | getBoundingBox (void) const |
virtual Ogre::Real | getBoundingRadius (void) const |
virtual void | _updateRenderQueue (Ogre::RenderQueue *queue) |
const Ogre::Vector3 & | getWorldPosition () const |
const Ogre::Quaternion & | getWorldOrientation () const |
void | setPosition (const Ogre::Vector3 &p) |
void | setOrientation (const Ogre::Quaternion &q) |
void | setPosition (const Ogre::Real x, const Ogre::Real y, const Ogre::Real z) |
void | setOrientation (const Ogre::Real x, const Ogre::Real y, const Ogre::Real z, const Ogre::Real w) |
virtual void | setPosition (const btVector3 &pos) |
virtual void | setOrientation (const btQuaternion &quat) |
virtual void | setTransform (const btVector3 &pos, const btQuaternion &quat) |
virtual void | setTransform (const btTransform &worldTrans) |
btCollisionObject * | getBulletObject () const |
btCollisionWorld * | getBulletCollisionWorld () const |
CollisionsWorld * | getCollisionWorld () const |
CollisionShape * | getShape () const |
DebugCollisionShape * | getDebugShape () const |
void | setShape (CollisionShape *shape, const Ogre::Vector3 &pos, const Ogre::Quaternion &quat) |
void | showDebugShape (bool show) |
Ogre::SceneNode * | getRootNode () |
Static Public Attributes | |
static const Ogre::String | mMovableType = "OgreBullet::Object" |
Protected Attributes | |
Ogre::SceneNode * | mRootNode |
Ogre::SceneNode * | mShapeNode |
Ogre::SceneNode * | mDebugNode |
ObjectState * | mState |
CollisionsWorld * | mWorld |
btCollisionObject * | mObject |
Ogre::AxisAlignedBox | mBounds |
CollisionShape * | mShape |
DebugCollisionShape * | mDebugShape |
Object is the Basic Bullet Collision representation of an Physical thing in a scene. It does need a Shape Object to know its "Geometrics" Bounds.