aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-25 03:36:31 +0000
committerTeravus Ovares2008-03-25 03:36:31 +0000
commita21112cceedfc93840b935feae4ad8725c4afb48 (patch)
tree43efce03cfc00168c04579e1cf3611eebde8ebde /OpenSim/Region/Physics/Manager
parentAdded monodevelop support to runprebuild.sh (diff)
downloadopensim-SC_OLD-a21112cceedfc93840b935feae4ad8725c4afb48.zip
opensim-SC_OLD-a21112cceedfc93840b935feae4ad8725c4afb48.tar.gz
opensim-SC_OLD-a21112cceedfc93840b935feae4ad8725c4afb48.tar.bz2
opensim-SC_OLD-a21112cceedfc93840b935feae4ad8725c4afb48.tar.xz
* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
* It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index c63e1f7..b40635c 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -180,6 +180,10 @@ namespace OpenSim.Region.Physics.Manager
180 public abstract PhysicsVector RotationalVelocity { get; set; } 180 public abstract PhysicsVector RotationalVelocity { get; set; }
181 public abstract bool Kinematic { get; set; } 181 public abstract bool Kinematic { get; set; }
182 public abstract float Buoyancy { get; set; } 182 public abstract float Buoyancy { get; set; }
183 public abstract PhysicsVector PIDTarget { set;}
184 public abstract bool PIDActive { set;}
185 public abstract float PIDTau { set; }
186
183 187
184 public abstract void AddForce(PhysicsVector force); 188 public abstract void AddForce(PhysicsVector force);
185 public abstract void SetMomentum(PhysicsVector momentum); 189 public abstract void SetMomentum(PhysicsVector momentum);
@@ -343,6 +347,7 @@ namespace OpenSim.Region.Physics.Manager
343 { 347 {
344 } 348 }
345 349
350
346 public override void AddForce(PhysicsVector force) 351 public override void AddForce(PhysicsVector force)
347 { 352 {
348 } 353 }
@@ -353,6 +358,10 @@ namespace OpenSim.Region.Physics.Manager
353 set { return; } 358 set { return; }
354 } 359 }
355 360
361 public override PhysicsVector PIDTarget { set { return; } }
362 public override bool PIDActive { set { return; } }
363 public override float PIDTau { set { return; } }
364
356 public override void SetMomentum(PhysicsVector momentum) 365 public override void SetMomentum(PhysicsVector momentum)
357 { 366 {
358 } 367 }