mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge pull request #522 from DavidWyand-GG/Updates
Revert Player Buoyancy Change
This commit is contained in:
commit
81627c7103
1 changed files with 3 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue