BtWorld
Engine/source/T3D/physics/bullet/btWorld.h
Protected Attributes
btBroadphaseInterface *
btDefaultCollisionConfiguration *
btCollisionDispatcher *
btDynamicsWorld *
bool
bool
bool
btConstraintSolver *
Public Functions
BtWorld()
~BtWorld()
bool
Tears down the physics world destroying any existing bodies, joints, and controllers.
btDynamicsWorld *
bool
bool
initWorld(bool isServer, ProcessList * processList)
Prepare the physics world for use.
bool
Returns true if the physics world is active and simulating.
bool
onDebugDraw(const SceneRenderState * state)
Overloaded to do debug drawing.
setEditorTimeScale(F32 timeScale)
setEnabled(bool enabled)
tickPhysics(U32 elapsedMs)
Detailed Description
Protected Attributes
btBroadphaseInterface * mBroadphase
btDefaultCollisionConfiguration * mCollisionConfiguration
BtDebugDraw mDebugDraw
btCollisionDispatcher * mDispatcher
btDynamicsWorld * mDynamicsWorld
F32 mEditorTimeScale
bool mErrorReport
bool mIsEnabled
bool mIsSimulating
ProcessList * mProcessList
btConstraintSolver * mSolver
U32 mTickCount
Protected Functions
_destroy()
Public Functions
BtWorld()
~BtWorld()
castRay(const Point3F & start, const Point3F & end, U32 bodyTypes)
Reimplemented from: PhysicsWorld
castRay(const Point3F & startPnt, const Point3F & endPnt, RayInfo * ri, const Point3F & impulse)
Reimplemented from: PhysicsWorld
destroyWorld()
Reimplemented from: PhysicsWorld
explosion(const Point3F & pos, F32 radius, F32 forceMagnitude)
Reimplemented from: PhysicsWorld
getDynamicsWorld()
getEditorTimeScale()
getEnabled()
getPhysicsResults()
initWorld(bool isServer, ProcessList * processList)
Reimplemented from: PhysicsWorld
isEnabled()
Reimplemented from: PhysicsWorld
isWritable()
onDebugDraw(const SceneRenderState * state)
Reimplemented from: PhysicsWorld
reset()
Reimplemented from: PhysicsWorld
setEditorTimeScale(F32 timeScale)
setEnabled(bool enabled)
tickPhysics(U32 elapsedMs)