8 enum PhysicsDebugDrawModes
11 PDDM_DrawWireframe = 1,
13 PDDM_DrawFeaturesText=4,
14 PDDM_DrawContactPoints=8,
15 PDDM_NoDeactivation=16,
18 PDDM_ProfileTimings = 128,
19 PDDM_EnableSatComparison = 256,
20 PDDM_DisableBulletLCP = 512,
21 PDDM_EnableCCD = 1024,
22 PDDM_DrawConstraints = (1 << 11),
23 PDDM_DrawConstraintLimits = (1 << 12),
24 PDDM_FastWireframe = (1<<13),
25 PDDM_MAX_DEBUG_DRAW_MODE
34 DWORD m_pointStrideBytes;
35 DWORD m_triangleStrideBytes;
45 virtual void* GetUserData() = 0;
46 virtual void SetUserData(
void* pData) = 0;
49 virtual void*
get() = 0;
51 virtual void Release() = 0;
82 virtual void* GetUserData() = 0;
83 virtual void SetUserData(
void* pData) = 0;
86 virtual void*
get() = 0;
88 virtual void Release() = 0;
104 virtual bool InitPhysics() = 0;
109 virtual bool StepSimulation(
float fDeltaTime) = 0;
113 virtual bool ExitPhysics() = 0;
117 virtual void Release() = 0;
146 virtual void DebugDrawWorld() = 0;
149 virtual void SetDebugDrawMode(
int debugMode) = 0;
152 virtual int GetDebugDrawMode() = 0;
short m_group
group id
Definition: IParaPhysics.h:69
PARAMATRIX3x3 m_rotation
Storage for the rotation.
Definition: IParaPhysics.h:63
Definition: PEtypes.h:327
different physics engine has different winding order.
Definition: EventBinding.h:32
Create descriptor for triangle mesh shape.
Definition: IParaPhysics.h:30
it is represent a shape that can be used to create various actors in the scene.
Definition: IParaPhysics.h:42
PARAVECTOR3 m_origin
Storage for the translation.
Definition: IParaPhysics.h:60
IParaDebugDraw draw interface draws line based primitives for debugging purposes. ...
Definition: IParaDebugDraw.h:10
float m_mass
if mass is zero, it is a static mesh.
Definition: IParaPhysics.h:66
Definition: IParaPhysics.h:91
ParaPhysics core interface.
Definition: IParaPhysics.h:100
it is represent a shape that can be used to create various actors in the scene.
Definition: IParaPhysics.h:79
Definition: PEtypes.h:298
short m_mask
collision mask id, -1 to collide with all meshes. specify (-1 ^ m_group) to exclude collision of the ...
Definition: IParaPhysics.h:72
Create descriptor for a physics actor.
Definition: IParaPhysics.h:56
IParaPhysicsShape * m_pShape
the collision shape of the actor. it should be the pointer returned by one of the CreateXXXShape() fu...
Definition: IParaPhysics.h:75