aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs7
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs1
2 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index f2bb4bf..68999fc 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -690,12 +690,7 @@ namespace OpenSim.Region.Physics.OdePlugin
690 public override Vector3 Acceleration 690 public override Vector3 Acceleration
691 { 691 {
692 get { return _acceleration; } 692 get { return _acceleration; }
693 } 693 set { _acceleration = value; }
694
695 public void SetAcceleration(Vector3 accel)
696 {
697 m_pidControllerActive = true;
698 _acceleration = accel;
699 } 694 }
700 695
701 /// <summary> 696 /// <summary>
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 94e6185..75364b7 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -2497,6 +2497,7 @@ Console.WriteLine(" JointCreateFixed");
2497 public override Vector3 Acceleration 2497 public override Vector3 Acceleration
2498 { 2498 {
2499 get { return _acceleration; } 2499 get { return _acceleration; }
2500 set { _acceleration = value; }
2500 } 2501 }
2501 2502
2502 public override void AddForce(Vector3 force, bool pushforce) 2503 public override void AddForce(Vector3 force, bool pushforce)