NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgBulletUtil Class Reference

#include <tgBulletUtil.h>

Static Public Member Functions

static btRigidBody * createRigidBody (btDynamicsWorld *dynamicsWorld, float mass, const btTransform &startTransform, btCollisionShape *shape)
static btDynamicsWorld & worldToDynamicsWorld (const tgWorld &world)

Detailed Description

Utility class for dealing with Bullet Physics

Definition at line 39 of file tgBulletUtil.h.

Member Function Documentation

btDynamicsWorld & tgBulletUtil::worldToDynamicsWorld ( const tgWorld world)

Assuming that world has a tgWorldBulletPhysicsImpl, return its dynamics world.

[in,out]worlda tgWorld
the world's implementation's btSoftRigidDynamicsView
consider implications of casting to include Corde objects
Use typeinfo to verify that this is correct.

Definition at line 79 of file tgBulletUtil.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: