fix warning in character controller

This commit is contained in:
erwin.coumans
2010-03-08 01:40:02 +00:00
parent 81efe51116
commit f250fd21c5

View File

@@ -340,7 +340,7 @@ void btKinematicCharacterController::stepForwardAndStrafe ( btCollisionWorld* co
if (callback.hasHit())
{
// we moved only a fraction
btScalar hitDistance = (callback.m_hitPointWorld - m_currentPosition).length();
//btScalar hitDistance = (callback.m_hitPointWorld - m_currentPosition).length();
/* If the distance is farther than the collision margin, move */
// if (hitDistance > m_addedMargin)