diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e9ff07a87a..37196b0972 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1113,7 +1113,7 @@ namespace OpenSim.Region.Framework.Scenes { if (PhysicsActor != null) PhysicsActor.SetMomentum((Vector3)v); - m_velocity = (Vector3)v; +// m_velocity = (Vector3)v; } else if (Stopit) { diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 7356123eab..4b093bacf3 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs @@ -1273,7 +1273,7 @@ namespace OpenSim.Region.Physics.OdePlugin private void changeMomentum(Vector3 newmomentum) { _velocity = newmomentum; - _target_velocity = newmomentum; + _target_velocity = Vector3.Zero; m_pidControllerActive = true; m_colliderfilter = 0; m_colliderObjectfilter = 0;