فهرست منبع

re-enables boyancy as per: http://www.garagegames.com/community/blogs/view/22403#comments

Azaezel 12 سال پیش
والد
کامیت
6879f1b328
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Engine/source/T3D/player.cpp

+ 1 - 1
Engine/source/T3D/player.cpp

@@ -3122,7 +3122,7 @@ void Player::updateMove(const Move* move)
          if ( currHeight + mVelocity.z * TickSec * C > mLiquidHeight )
          if ( currHeight + mVelocity.z * TickSec * C > mLiquidHeight )
             buoyancyForce *= M;
             buoyancyForce *= M;
                   
                   
-         //mVelocity.z -= buoyancyForce;
+         mVelocity.z -= buoyancyForce;
       }
       }
    }
    }