diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_IPhysicsController.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_IPhysicsController.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_IPhysicsController.h b/source/gameengine/Ketsji/KX_IPhysicsController.h index 68577f09414..528bf00d574 100644 --- a/source/gameengine/Ketsji/KX_IPhysicsController.h +++ b/source/gameengine/Ketsji/KX_IPhysicsController.h @@ -53,11 +53,12 @@ class KX_IPhysicsController : public SG_Controller protected: bool m_bDyna; bool m_bSensor; + bool m_bCharacter; bool m_bCompound; bool m_suspendDynamics; void* m_userdata; public: - KX_IPhysicsController(bool dyna,bool sensor,bool compound, void* userdata); + KX_IPhysicsController(bool dyna,bool sensor,bool character,bool compound, void* userdata); virtual ~KX_IPhysicsController(); @@ -109,6 +110,10 @@ public: m_bSensor = isSensor; } + void SetCharacter(bool isCharacter) { + m_bCharacter = isCharacter; + } + bool IsDyna(void) { return m_bDyna; } @@ -117,6 +122,10 @@ public: return m_bSensor; } + bool IsCharacter(void) { + return m_bCharacter; + } + bool IsCompound(void) { return m_bCompound; } |