Abstracted character controller interface

Renamed old character controller to DynamicCharacterController
First start at KinematicCharacterController. Still has bugs.
This commit is contained in:
john.mccutchan
2008-07-02 23:19:02 +00:00
parent db146019f1
commit de1f2631f4
7 changed files with 626 additions and 31 deletions

View File

@@ -16,6 +16,7 @@ subject to the following restrictions:
#define CHARACTER_DEMO_H
class CharacterController;
class KinematicCharacterController;
class btCollisionShape;
@@ -27,7 +28,11 @@ class CharacterDemo : public DemoApplication
{
public:
#ifdef DYNAMIC_CHARACTER_CONTROLLER
CharacterController* m_character;
#else
KinematicCharacterController* m_character;
#endif
btAlignedObjectArray<btCollisionShape*> m_collisionShapes;