aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
index 695896e..57c5898 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
@@ -763,7 +763,8 @@ public sealed class BSCharacter : BSPhysObject
763 // and that velocity component must be retained. 763 // and that velocity component must be retained.
764 float timeStep = 0.089f; // DEBUG DEBUG FIX FIX FIX 764 float timeStep = 0.089f; // DEBUG DEBUG FIX FIX FIX
765 OMV.Vector3 stepVelocity = _velocityMotor.Step(timeStep); 765 OMV.Vector3 stepVelocity = _velocityMotor.Step(timeStep);
766 stepVelocity.Z += entprop.Velocity.Z; 766 // Remove next line so avatars don't fly up forever. DEBUG DEBUG this is only temporary.
767 // stepVelocity.Z += entprop.Velocity.Z;
767 _velocity = stepVelocity; 768 _velocity = stepVelocity;
768 BulletSimAPI.SetLinearVelocity2(PhysBody.ptr, _velocity); 769 BulletSimAPI.SetLinearVelocity2(PhysBody.ptr, _velocity);
769 /* 770 /*