mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-10 18:05:34 +00:00
Fix Issue 61 related to character controller,
see https://github.com/rraallvv/bullet3/commit/6cb832140d620620c5a6e4bb8e865e83f1e0d563
This commit is contained in:
@@ -737,7 +737,7 @@ void btKinematicCharacterController::playerStep(btCollisionWorld* collisionWorld
|
||||
}
|
||||
|
||||
// quick check...
|
||||
if (!m_useWalkDirection && (m_velocityTimeInterval <= 0.0))
|
||||
if (!m_useWalkDirection && (m_velocityTimeInterval <= 0.0 || m_walkDirection.fuzzyZero()))
|
||||
{
|
||||
// printf("\n");
|
||||
return; // no motion
|
||||
|
||||
Reference in New Issue
Block a user