BulletSim: remove the movement decay while flying. Made flying slow down over time.

0.7.5-pf-bulletsim
Robert Adams 2012-12-21 23:05:05 -08:00
parent 37fb691ba5
commit a54392d7cc
1 changed files with 0 additions and 6 deletions

View File

@ -563,12 +563,6 @@ public sealed class BSCharacter : BSPhysObject
set {
_flying = value;
// Velocity movement is different when flying: flying velocity degrades over time.
if (_flying)
_velocityMotor.TargetValueDecayTimeScale = 1f;
else
_velocityMotor.TargetValueDecayTimeScale = BSMotor.Infinite;
// simulate flying by changing the effect of gravity
Buoyancy = ComputeBuoyancyFromFlying(_flying);
}