OpenMW
|
#include <physic.hpp>
Public Member Functions | |
RigidBody (btRigidBody::btRigidBodyConstructionInfo &CI, std::string name) | |
virtual | ~RigidBody () |
Public Attributes | |
std::string | mName |
bool | mPlaceable |
This class is just an extension of normal btRigidBody in order to add extra info. When bullet give back a btRigidBody, you can just do a static_cast to RigidBody, so one never should use btRigidBody directly!
OEngine::Physic::RigidBody::RigidBody | ( | btRigidBody::btRigidBodyConstructionInfo & | CI, |
std::string | name | ||
) |
OEngine::Physic::RigidBody::~RigidBody | ( | ) | [virtual] |
std::string OEngine::Physic::RigidBody::mName |