From d4dad75a3c73fdfd4f156e1684d04f13b92f2362 Mon Sep 17 00:00:00 2001 From: Vegaslon Date: Sat, 22 Mar 2014 15:03:13 -0400 Subject: BulletSim: Fix jumping while running. Was unintentional taking way all upward target motion for avatar when running. Signed-off-by: Michael Cerquoni --- OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs index fc18960..c9b134c 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs @@ -426,7 +426,7 @@ public sealed class BSCharacter : BSPhysObject m_targetVelocity = value; OMV.Vector3 targetVel = value; if (_setAlwaysRun && !_flying) - targetVel *= new OMV.Vector3(BSParam.AvatarAlwaysRunFactor, BSParam.AvatarAlwaysRunFactor, 0f); + targetVel *= new OMV.Vector3(BSParam.AvatarAlwaysRunFactor, BSParam.AvatarAlwaysRunFactor, 1f); if (m_moveActor != null) m_moveActor.SetVelocityAndTarget(RawVelocity, targetVel, false /* inTaintTime */); -- cgit v1.1