aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
index b392d75..01cd279 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
@@ -563,12 +563,6 @@ public sealed class BSCharacter : BSPhysObject
563 set { 563 set {
564 _flying = value; 564 _flying = value;
565 565
566 // Velocity movement is different when flying: flying velocity degrades over time.
567 if (_flying)
568 _velocityMotor.TargetValueDecayTimeScale = 1f;
569 else
570 _velocityMotor.TargetValueDecayTimeScale = BSMotor.Infinite;
571
572 // simulate flying by changing the effect of gravity 566 // simulate flying by changing the effect of gravity
573 Buoyancy = ComputeBuoyancyFromFlying(_flying); 567 Buoyancy = ComputeBuoyancyFromFlying(_flying);
574 } 568 }