OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
simplified wrapper with automatic memory management More...
#include <OgreBullet.h>
Public Member Functions | |
DynamicsWorld (btDynamicsWorld *btWorld) | |
DynamicsWorld (const Vector3 &gravity) | |
~DynamicsWorld () | |
btRigidBody * | addRigidBody (float mass, Entity *ent, ColliderType ct, CollisionListener *listener=nullptr, int group=1, int mask=-1) |
btDynamicsWorld * | getBtWorld () const |
void | rayTest (const Ray &ray, RayResultCallback *callback, float maxDist=1000) |
simplified wrapper with automatic memory management
|
explicit |
Ogre::Bullet::DynamicsWorld::~DynamicsWorld | ( | ) |
|
inline |
btRigidBody* Ogre::Bullet::DynamicsWorld::addRigidBody | ( | float | mass, |
Entity * | ent, | ||
ColliderType | ct, | ||
CollisionListener * | listener = nullptr , |
||
int | group = 1 , |
||
int | mask = -1 |
||
) |
|
inline |
void Ogre::Bullet::DynamicsWorld::rayTest | ( | const Ray & | ray, |
RayResultCallback * | callback, | ||
float | maxDist = 1000 |
||
) |