From 76d9040ed41facca73b8628f381dd8bdec3c9dc2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 27 Apr 2012 02:54:39 +0100 Subject: [PATCH] testing --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +- OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;