aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorCharles Krinke2008-09-28 21:53:56 +0000
committerCharles Krinke2008-09-28 21:53:56 +0000
commitebbbd37605e2954c877454ed8cafd4027f0bdc10 (patch)
tree7e8dfed49511939877ffd9fec6981d3be29864e4 /OpenSim/Region/Physics
parentA little bit further with LLSetVehicleVectorParam. (diff)
downloadopensim-SC_OLD-ebbbd37605e2954c877454ed8cafd4027f0bdc10.zip
opensim-SC_OLD-ebbbd37605e2954c877454ed8cafd4027f0bdc10.tar.gz
opensim-SC_OLD-ebbbd37605e2954c877454ed8cafd4027f0bdc10.tar.bz2
opensim-SC_OLD-ebbbd37605e2954c877454ed8cafd4027f0bdc10.tar.xz
Added the plumbing for llSetVehicleRotationParam
in the classes between the LSL implementation and the underlying physics engines.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs5
-rw-r--r--OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs5
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs6
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs6
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs5
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSCharacter.cs5
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSPrim.cs5
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs10
8 files changed, 47 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index c75c40e..96543da 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -345,6 +345,11 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
345 345
346 } 346 }
347 347
348 public override void VehicleRotationParam(int param, Quaternion rotation)
349 {
350
351 }
352
348 public override PhysicsVector CenterOfMass 353 public override PhysicsVector CenterOfMass
349 { 354 {
350 get { return PhysicsVector.Zero; } 355 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
index acd4cb1..e62f966 100644
--- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
+++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
@@ -959,6 +959,11 @@ namespace OpenSim.Region.Physics.BulletXPlugin
959 { 959 {
960 960
961 } 961 }
962
963 public override void VehicleRotationParam(int param, OpenMetaverse.Quaternion rotation)
964 {
965
966 }
962 967
963 public override PhysicsVector CenterOfMass 968 public override PhysicsVector CenterOfMass
964 { 969 {
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index c5e6c8b..44d4df7 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -177,6 +177,7 @@ namespace OpenSim.Region.Physics.Manager
177 177
178 public abstract void VehicleFloatParam(int param, float value); 178 public abstract void VehicleFloatParam(int param, float value);
179 public abstract void VehicleVectorParam(int param, PhysicsVector value); 179 public abstract void VehicleVectorParam(int param, PhysicsVector value);
180 public abstract void VehicleRotationParam(int param, Quaternion rotation);
180 181
181 public abstract PhysicsVector GeometricCenter { get; } 182 public abstract PhysicsVector GeometricCenter { get; }
182 public abstract PhysicsVector CenterOfMass { get; } 183 public abstract PhysicsVector CenterOfMass { get; }
@@ -290,6 +291,11 @@ namespace OpenSim.Region.Physics.Manager
290 291
291 } 292 }
292 293
294 public override void VehicleRotationParam(int param, Quaternion rotation)
295 {
296
297 }
298
293 public override PhysicsVector CenterOfMass 299 public override PhysicsVector CenterOfMass
294 { 300 {
295 get { return PhysicsVector.Zero; } 301 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index b6dbac0..6af0781 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -547,6 +547,12 @@ namespace OpenSim.Region.Physics.OdePlugin
547 547
548 } 548 }
549 549
550 public override void VehicleRotationParam(int param, Quaternion rotation)
551 {
552
553 }
554
555
550 public override PhysicsVector CenterOfMass 556 public override PhysicsVector CenterOfMass
551 { 557 {
552 get { return PhysicsVector.Zero; } 558 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 3af73cd..9db7e8b 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -1886,6 +1886,11 @@ namespace OpenSim.Region.Physics.OdePlugin
1886 1886
1887 } 1887 }
1888 1888
1889 public override void VehicleRotationParam(int param, Quaternion rotation)
1890 {
1891
1892 }
1893
1889 public override PhysicsVector CenterOfMass 1894 public override PhysicsVector CenterOfMass
1890 { 1895 {
1891 get { return PhysicsVector.Zero; } 1896 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs b/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
index 719d4cf..9719a05 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
@@ -169,6 +169,11 @@ namespace OpenSim.Region.Physics.POSPlugin
169 169
170 } 170 }
171 171
172 public override void VehicleRotationParam(int param, Quaternion rotation)
173 {
174
175 }
176
172 public override PhysicsVector CenterOfMass 177 public override PhysicsVector CenterOfMass
173 { 178 {
174 get { return PhysicsVector.Zero; } 179 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
index a674e77..265e170 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
@@ -131,6 +131,11 @@ namespace OpenSim.Region.Physics.POSPlugin
131 131
132 } 132 }
133 133
134 public override void VehicleRotationParam(int param, Quaternion rotation)
135 {
136
137 }
138
134 public override PhysicsVector CenterOfMass 139 public override PhysicsVector CenterOfMass
135 { 140 {
136 get { return PhysicsVector.Zero; } 141 get { return PhysicsVector.Zero; }
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
index c65ce1d..c9d2c13 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
@@ -353,6 +353,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin
353 353
354 } 354 }
355 355
356 public override void VehicleRotationParam(int param, Quaternion rotation)
357 {
358
359 }
360
356 public override PhysicsVector CenterOfMass 361 public override PhysicsVector CenterOfMass
357 { 362 {
358 get { return PhysicsVector.Zero; } 363 get { return PhysicsVector.Zero; }
@@ -693,6 +698,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin
693 698
694 } 699 }
695 700
701 public override void VehicleRotationParam(int param, Quaternion rotation)
702 {
703
704 }
705
696 public override PhysicsVector CenterOfMass 706 public override PhysicsVector CenterOfMass
697 { 707 {
698 get { return PhysicsVector.Zero; } 708 get { return PhysicsVector.Zero; }