aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorCharles Krinke2008-09-28 18:36:30 +0000
committerCharles Krinke2008-09-28 18:36:30 +0000
commit3397236c6c759178bfb77e41ba761fca162a7b5f (patch)
treeacedd8141784442df5c7e682b6a0ee6acebabf37 /OpenSim/Region/Physics/Manager
parentMantis #2288 (diff)
downloadopensim-SC_OLD-3397236c6c759178bfb77e41ba761fca162a7b5f.zip
opensim-SC_OLD-3397236c6c759178bfb77e41ba761fca162a7b5f.tar.gz
opensim-SC_OLD-3397236c6c759178bfb77e41ba761fca162a7b5f.tar.bz2
opensim-SC_OLD-3397236c6c759178bfb77e41ba761fca162a7b5f.tar.xz
Plumb the connection through from llSetVehicleFloatParam
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index 482b478..16825a9 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -174,6 +174,9 @@ namespace OpenSim.Region.Physics.Manager
174 public abstract PhysicsVector Position { get; set; } 174 public abstract PhysicsVector Position { get; set; }
175 public abstract float Mass { get; } 175 public abstract float Mass { get; }
176 public abstract PhysicsVector Force { get; set; } 176 public abstract PhysicsVector Force { get; set; }
177
178 public abstract float VehicleFloatParam { get; set; }
179
177 public abstract PhysicsVector GeometricCenter { get; } 180 public abstract PhysicsVector GeometricCenter { get; }
178 public abstract PhysicsVector CenterOfMass { get; } 181 public abstract PhysicsVector CenterOfMass { get; }
179 public abstract PhysicsVector Velocity { get; set; } 182 public abstract PhysicsVector Velocity { get; set; }
@@ -195,8 +198,6 @@ namespace OpenSim.Region.Physics.Manager
195 public abstract PhysicsVector PIDTarget { set;} 198 public abstract PhysicsVector PIDTarget { set;}
196 public abstract bool PIDActive { set;} 199 public abstract bool PIDActive { set;}
197 public abstract float PIDTau { set; } 200 public abstract float PIDTau { set; }
198
199
200 public abstract void AddForce(PhysicsVector force, bool pushforce); 201 public abstract void AddForce(PhysicsVector force, bool pushforce);
201 public abstract void SetMomentum(PhysicsVector momentum); 202 public abstract void SetMomentum(PhysicsVector momentum);
202 public abstract void SubscribeEvents(int ms); 203 public abstract void SubscribeEvents(int ms);
@@ -278,6 +279,12 @@ namespace OpenSim.Region.Physics.Manager
278 set { return; } 279 set { return; }
279 } 280 }
280 281
282 public override float VehicleFloatParam
283 {
284 get { return 0f; }
285 set { return; }
286 }
287
281 public override PhysicsVector CenterOfMass 288 public override PhysicsVector CenterOfMass
282 { 289 {
283 get { return PhysicsVector.Zero; } 290 get { return PhysicsVector.Zero; }