Px3World
Engine/source/T3D/physics/physx3/px3World.h
Protected Attributes
physx::PxControllerManager *
bool
bool
bool
bool
bool
physx::PxRenderBuffer *
physx::PxScene *
Protected Static Attributes
physx::PxCooking *
physx::PxDefaultCpuDispatcher *
physx::PxCudaContextManager *
physx::PxFoundation *
physx::PxDefaultAllocator
physx::PxPvd *
physx::PxPvdTransport *
Public Functions
Px3World()
bool
physx::PxController *
createController(physx::PxControllerDesc & desc)
Tears down the physics world destroying any existing bodies, joints, and controllers.
physx::PxScene *
getScene()
bool
initWorld(bool isServer, ProcessList * processList)
Prepare the physics world for use.
bool
Returns true if the physics world is active and simulating.
bool
isServer()
onDebugDraw(const SceneRenderState * state)
Overloaded to do debug drawing.
setEditorTimeScale(F32 timeScale)
setEnabled(bool enabled)
tickPhysics(U32 elapsedMs)
Public Static Functions
physx::PxCooking *
bool
restartSDK(bool destroyOnly, Px3World * clientWorld, Px3World * serverWorld)
Detailed Description
Protected Attributes
F32 mAccumulator
physx::PxControllerManager * mControllerManager
F32 mEditorTimeScale
bool mErrorReport
bool mIsEnabled
bool mIsSceneLocked
bool mIsServer
bool mIsSimulating
ProcessList * mProcessList
physx::PxRenderBuffer * mRenderBuffer
physx::PxScene * mScene
U32 mTickCount
Protected Static Attributes
physx::PxCooking * smCooking
physx::PxDefaultCpuDispatcher * smCpuDispatcher
physx::PxCudaContextManager * smCudaContextManager
Px3ConsoleStream * smErrorCallback
physx::PxFoundation * smFoundation
physx::PxDefaultAllocator smMemoryAlloc
physx::PxPvd * smPvdConnection
physx::PxPvdTransport * smPvdTransport
Protected Functions
_simulate(const F32 dt)
Public Functions
Px3World()
~Px3World()
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
createController(physx::PxControllerDesc & desc)
destroyWorld()
Reimplemented from: PhysicsWorld
explosion(const Point3F & pos, F32 radius, F32 forceMagnitude)
Reimplemented from: PhysicsWorld
getEditorTimeScale()
getPhysicsResults()
getScene()
getTick()
initWorld(bool isServer, ProcessList * processList)
Reimplemented from: PhysicsWorld
isEnabled()
Reimplemented from: PhysicsWorld
isServer()
lockScene()
onDebugDraw(const SceneRenderState * state)
Reimplemented from: PhysicsWorld
reset()
Reimplemented from: PhysicsWorld
setEditorTimeScale(F32 timeScale)
setEnabled(bool enabled)
tickPhysics(U32 elapsedMs)
unlockScene()
Public Static Functions
getCooking()
lockScenes()
restartSDK(bool destroyOnly, Px3World * clientWorld, Px3World * serverWorld)
unlockScenes()