OpenMW
|
#include <BulletShapeLoader.h>
Public Member Functions | |
BulletShape (Ogre::ResourceManager *creator, const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool isManual=false, Ogre::ManualResourceLoader *loader=0) | |
virtual | ~BulletShape () |
Public Attributes | |
btCollisionShape * | mCollisionShape |
btCollisionShape * | mRaycastingShape |
bool | mHasCollisionNode |
Ogre::Vector3 | mBoxTranslation |
Ogre::Quaternion | mBoxRotation |
bool | mCollide |
Protected Member Functions | |
void | loadImpl () |
void | unloadImpl () |
size_t | calculateSize () const |
void | deleteShape (btCollisionShape *shape) |
Private Attributes | |
Ogre::String | mString |
Define a new resource which describe a Shape usable by bullet.See BulletShapeManager for how to get/use them.
OEngine::Physic::BulletShape::BulletShape | ( | Ogre::ResourceManager * | creator, |
const Ogre::String & | name, | ||
Ogre::ResourceHandle | handle, | ||
const Ogre::String & | group, | ||
bool | isManual = false , |
||
Ogre::ManualResourceLoader * | loader = 0 |
||
) |
OEngine::Physic::BulletShape::~BulletShape | ( | ) | [virtual] |
size_t OEngine::Physic::BulletShape::calculateSize | ( | ) | const [protected] |
void OEngine::Physic::BulletShape::deleteShape | ( | btCollisionShape * | shape | ) | [protected] |
void OEngine::Physic::BulletShape::loadImpl | ( | ) | [protected] |
void OEngine::Physic::BulletShape::unloadImpl | ( | ) | [protected] |
Ogre::Quaternion OEngine::Physic::BulletShape::mBoxRotation |
Ogre::Vector3 OEngine::Physic::BulletShape::mBoxTranslation |
btCollisionShape* OEngine::Physic::BulletShape::mCollisionShape |
btCollisionShape* OEngine::Physic::BulletShape::mRaycastingShape |
Ogre::String OEngine::Physic::BulletShape::mString [private] |