From 710d616d0f545d0e5227cb1dad7e32913ea40740 Mon Sep 17 00:00:00 2001 From: DavidWyand-GG Date: Tue, 5 Nov 2013 14:49:47 -0500 Subject: [PATCH] Revert Player Buoyancy Change This reverts the change made by https://github.com/GarageGames/Torque3D/pull/490 It actually goes further and comments out the Player's buoyancy calculation rather than just the change in velocity. --- Engine/source/T3D/player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/source/T3D/player.cpp b/Engine/source/T3D/player.cpp index cc415b6c8..da29b63e0 100644 --- a/Engine/source/T3D/player.cpp +++ b/Engine/source/T3D/player.cpp @@ -3098,6 +3098,8 @@ void Player::updateMove(const Move* move) } // Container buoyancy & drag +/* Commented out until the buoyancy calculation can be reworked so that a container and +** player with the same density will result in neutral buoyancy. if (mBuoyancy != 0) { // Applying buoyancy when standing still causing some jitters- @@ -3117,6 +3119,7 @@ void Player::updateMove(const Move* move) mVelocity.z -= buoyancyForce; } } +*/ // Apply drag if ( mSwimming )