aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-09-28 20:20:32 +0000
committerCharles Krinke2008-09-28 20:20:32 +0000
commit37478629995e6c113fa1ccbd56eb948c64e0f594 (patch)
tree7d468079beabb2547c7add896af59f29bef3b6b3 /OpenSim/Region/Physics/Manager/PhysicsActor.cs
parentMantis #1922 (diff)
downloadopensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.zip
opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.gz
opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.bz2
opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.xz
Plumb the connection though from llSetVehicleVectorParam
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/PhysicsActor.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index 16825a9..c5e6c8b 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -175,7 +175,8 @@ namespace OpenSim.Region.Physics.Manager
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 177
178 public abstract float VehicleFloatParam { get; set; } 178 public abstract void VehicleFloatParam(int param, float value);
179 public abstract void VehicleVectorParam(int param, PhysicsVector value);
179 180
180 public abstract PhysicsVector GeometricCenter { get; } 181 public abstract PhysicsVector GeometricCenter { get; }
181 public abstract PhysicsVector CenterOfMass { get; } 182 public abstract PhysicsVector CenterOfMass { get; }
@@ -279,10 +280,14 @@ namespace OpenSim.Region.Physics.Manager
279 set { return; } 280 set { return; }
280 } 281 }
281 282
282 public override float VehicleFloatParam 283 public override void VehicleFloatParam(int param, float value)
283 { 284 {
284 get { return 0f; } 285
285 set { return; } 286 }
287
288 public override void VehicleVectorParam(int param, PhysicsVector value)
289 {
290
286 } 291 }
287 292
288 public override PhysicsVector CenterOfMass 293 public override PhysicsVector CenterOfMass