|
My Project
|
Public Member Functions | |
| virtual bool | InitPhysics () |
| create and initialize all physics lib and create the default scene(world) | |
| virtual bool | StepSimulation (float fDeltaTime) |
| step simulation More... | |
| virtual bool | ExitPhysics () |
| cleanup all physics entities. | |
| virtual void | Release () |
| all this to unload the IPhysics. More... | |
| virtual IParaPhysicsShape * | CreateTriangleMeshShap (const ParaPhysicsTriangleMeshDesc &meshDesc) |
| create a triangle shape. More... | |
| virtual void | ReleaseShape (IParaPhysicsShape *pShape) |
| release a physics shape | |
| virtual IParaPhysicsActor * | CreateActor (const ParaPhysicsActorDesc &meshDesc) |
| create an physics actor(rigid body) in the current world. More... | |
| virtual void | ReleaseActor (IParaPhysicsActor *pActor) |
| release a physics actor | |
| virtual IParaPhysicsActor * | RaycastClosestShape (const PARAVECTOR3 &vOrigin, const PARAVECTOR3 &vDirection, DWORD dwType, RayCastHitResult &hit, short dwGroupMask, float fSensorRange) |
| ray cast a given group. More... | |
| virtual void | SetDebugDrawer (IParaDebugDraw *debugDrawer) |
| set the debug draw object for debugging physics world. More... | |
| virtual IParaDebugDraw * | GetDebugDrawer () |
| Get the debug draw object for debugging physics world. More... | |
| virtual void | DebugDrawObject (const PARAVECTOR3 &vOrigin, const PARAMATRIX3x3 &vRotation, const IParaPhysicsShape *pShape, const PARAVECTOR3 &color) |
| draw a given object. More... | |
| virtual void | DebugDrawWorld () |
| draw the entire physics debug world. More... | |
| virtual void | SetDebugDrawMode (int debugMode) |
| bitwise of PhysicsDebugDrawModes | |
| virtual int | GetDebugDrawMode () |
| bitwise of PhysicsDebugDrawModes | |
Protected Attributes | |
| IParaDebugDraw * | m_pDebugDrawer |
| int | m_nDebugMode |
|
virtual |
create an physics actor(rigid body) in the current world.
Implements ParaEngine::IParaPhysics.
|
virtual |
create a triangle shape.
Implements ParaEngine::IParaPhysics.
|
virtual |
draw a given object.
Implements ParaEngine::IParaPhysics.
|
virtual |
draw the entire physics debug world.
Implements ParaEngine::IParaPhysics.
|
virtual |
Get the debug draw object for debugging physics world.
Implements ParaEngine::IParaPhysics.
|
virtual |
ray cast a given group.
Implements ParaEngine::IParaPhysics.
|
virtual |
all this to unload the IPhysics.
Pointer to this class will be invalid after the call
Implements ParaEngine::IParaPhysics.
|
virtual |
set the debug draw object for debugging physics world.
Implements ParaEngine::IParaPhysics.
|
virtual |
1.8.12