diff --git a/bullet/physic.cpp b/bullet/physic.cpp index 2375d19e78..d09d299268 100644 --- a/bullet/physic.cpp +++ b/bullet/physic.cpp @@ -57,7 +57,7 @@ namespace Physic internalGhostObject->setCollisionFlags( btCollisionObject::CF_CHARACTER_OBJECT ); mCharacter = new btKinematicCharacterController( externalGhostObject,internalGhostObject,btScalar( 0.4 ),1,0 ); - mCharacter->setUpAxis(btKinematicCharacterController::UpAxis::Z_AXIS); + mCharacter->setUpAxis(btKinematicCharacterController::Z_AXIS); } PhysicActor::~PhysicActor()