|  | OGRE 14.3
    Object-Oriented Graphics Rendering Engine | 
simplified wrapper with automatic memory management More...
#include <OgreBullet.h>
 Inheritance diagram for Ogre::Bullet::DynamicsWorld:
 Inheritance diagram for Ogre::Bullet::DynamicsWorld:| Public Member Functions | |
| DynamicsWorld (btDynamicsWorld *btWorld) | |
| DynamicsWorld (const Vector3 &gravity) | |
| btRigidBody * | addRigidBody (float mass, Entity *ent, ColliderType ct, CollisionListener *listener=nullptr, int group=1, int mask=-1) | 
| Add an Entity as a rigid body to the DynamicsWorld. | |
| btDynamicsWorld * | getBtWorld () const | 
|  Public Member Functions inherited from Ogre::Bullet::CollisionWorld | |
| CollisionWorld (btCollisionWorld *btWorld) | |
| virtual | ~CollisionWorld () | 
| btCollisionObject * | addCollisionObject (Entity *ent, ColliderType ct, int group=1, int mask=-1) | 
| void | rayTest (const Ray &ray, RayResultCallback *callback, float maxDist=1000) | 
simplified wrapper with automatic memory management
| 
 | explicit | 
| 
 | inline | 
References Ogre::Bullet::CollisionWorld::CollisionWorld().
| btRigidBody * Ogre::Bullet::DynamicsWorld::addRigidBody | ( | float | mass, | 
| Entity * | ent, | ||
| ColliderType | ct, | ||
| CollisionListener * | listener = nullptr, | ||
| int | group = 1, | ||
| int | mask = -1 ) | 
Add an Entity as a rigid body to the DynamicsWorld.
| mass | the mass of the object | 
| ent | the entity to control | 
| ct | the collider type | 
| listener | a listener to call on collision with other objects | 
| group | the collision group | 
| mask | the collision mask | 
| 
 | inline |