diff options
author | Vegaslon | 2014-03-22 15:03:13 -0400 |
---|---|---|
committer | Michael Cerquoni | 2014-03-22 15:00:48 -0400 |
commit | d4dad75a3c73fdfd4f156e1684d04f13b92f2362 (patch) | |
tree | bfe1ad6b848c528d86923710fecbe869920634a6 /OpenSim/Region | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-d4dad75a3c73fdfd4f156e1684d04f13b92f2362.zip opensim-SC-d4dad75a3c73fdfd4f156e1684d04f13b92f2362.tar.gz opensim-SC-d4dad75a3c73fdfd4f156e1684d04f13b92f2362.tar.bz2 opensim-SC-d4dad75a3c73fdfd4f156e1684d04f13b92f2362.tar.xz |
BulletSim: Fix jumping while running. Was unintentional taking way all upward target motion for avatar when running.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
426 | m_targetVelocity = value; | 426 | m_targetVelocity = value; |
427 | OMV.Vector3 targetVel = value; | 427 | OMV.Vector3 targetVel = value; |
428 | if (_setAlwaysRun && !_flying) | 428 | if (_setAlwaysRun && !_flying) |
429 | targetVel *= new OMV.Vector3(BSParam.AvatarAlwaysRunFactor, BSParam.AvatarAlwaysRunFactor, 0f); | 429 | targetVel *= new OMV.Vector3(BSParam.AvatarAlwaysRunFactor, BSParam.AvatarAlwaysRunFactor, 1f); |
430 | 430 | ||
431 | if (m_moveActor != null) | 431 | if (m_moveActor != null) |
432 | m_moveActor.SetVelocityAndTarget(RawVelocity, targetVel, false /* inTaintTime */); | 432 | m_moveActor.SetVelocityAndTarget(RawVelocity, targetVel, false /* inTaintTime */); |