aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/PhysXPlugin
diff options
context:
space:
mode:
authorDan Lake2011-12-20 14:45:32 -0800
committerDan Lake2011-12-20 14:45:32 -0800
commit41b02a7208a8363f8edefb812e4f93238759d2bd (patch)
tree3de2f42376d23ead500098d98e6d2bbd6e21feda /OpenSim/Region/Physics/PhysXPlugin
parentThough the viewer warns about receiving this, not sending appears to break ba... (diff)
downloadopensim-SC_OLD-41b02a7208a8363f8edefb812e4f93238759d2bd.zip
opensim-SC_OLD-41b02a7208a8363f8edefb812e4f93238759d2bd.tar.gz
opensim-SC_OLD-41b02a7208a8363f8edefb812e4f93238759d2bd.tar.bz2
opensim-SC_OLD-41b02a7208a8363f8edefb812e4f93238759d2bd.tar.xz
Remove unused SetAcceleration and add set on Acceleration parameter
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin')
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXCharacter.cs6
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXPrim.cs6
2 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXCharacter.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXCharacter.cs
index 92261cd..9216a9e 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXCharacter.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXCharacter.cs
@@ -233,11 +233,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin
233 public override Vector3 Acceleration 233 public override Vector3 Acceleration
234 { 234 {
235 get { return _acceleration; } 235 get { return _acceleration; }
236 } 236 set { _acceleration = value; }
237
238 public void SetAcceleration(Vector3 accel)
239 {
240 _acceleration = accel;
241 } 237 }
242 238
243 public override void AddForce(Vector3 force, bool pushforce) 239 public override void AddForce(Vector3 force, bool pushforce)
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPrim.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPrim.cs
index c0e24fd..42bd119 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPrim.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPrim.cs
@@ -207,11 +207,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin
207 public override Vector3 Acceleration 207 public override Vector3 Acceleration
208 { 208 {
209 get { return _acceleration; } 209 get { return _acceleration; }
210 } 210 set { _acceleration = value; }
211
212 public void SetAcceleration(Vector3 accel)
213 {
214 _acceleration = accel;
215 } 211 }
216 212
217 public override void AddForce(Vector3 force, bool pushforce) 213 public override void AddForce(Vector3 force, bool pushforce)