aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs1
2 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 6ef0c4e..e9ff07a 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1111,15 +1111,15 @@ namespace OpenSim.Region.Framework.Scenes
1111 1111
1112 if (v.HasValue) 1112 if (v.HasValue)
1113 { 1113 {
1114 if (PhysicsActor != null) // speedup 1114 if (PhysicsActor != null)
1115 PhysicsActor.SetMomentum((Vector3)v); 1115 PhysicsActor.SetMomentum((Vector3)v);
1116 Velocity = (Vector3)v; 1116 m_velocity = (Vector3)v;
1117 } 1117 }
1118 else if (Stopit) 1118 else if (Stopit)
1119 { 1119 {
1120 if (PhysicsActor != null) // speedup 1120 if (PhysicsActor != null)
1121 PhysicsActor.SetMomentum(Vector3.Zero); 1121 PhysicsActor.SetMomentum(Vector3.Zero);
1122 Velocity = Vector3.Zero; // zero any velocity request 1122 m_velocity = Vector3.Zero;
1123 } 1123 }
1124 1124
1125 SendTerseUpdateToAllClients(); 1125 SendTerseUpdateToAllClients();
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
index 8b5b989..f22b0cc 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
@@ -1210,6 +1210,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1210 if (Body != IntPtr.Zero) 1210 if (Body != IntPtr.Zero)
1211 d.BodySetPosition(Body, newPos.X, newPos.Y, newPos.Z); 1211 d.BodySetPosition(Body, newPos.X, newPos.Y, newPos.Z);
1212 _position = newPos; 1212 _position = newPos;
1213 m_pidControllerActive = true;
1213 } 1214 }
1214 1215
1215 private void changeOrientation(Quaternion newOri) 1216 private void changeOrientation(Quaternion newOri)