aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorCharles Krinke2008-09-28 22:38:59 +0000
committerCharles Krinke2008-09-28 22:38:59 +0000
commit6758ecc40375fb046f142f5f45a19513a89b1f86 (patch)
treead96c1b2674d2124952ca63e4ec60a2703ed7945 /OpenSim/Region/Physics/OdePlugin
parentMantis#2291. Thank you kindly, StrawberryFride for a patch that solves: (diff)
downloadopensim-SC-6758ecc40375fb046f142f5f45a19513a89b1f86.zip
opensim-SC-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.gz
opensim-SC-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.bz2
opensim-SC-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.xz
Implement the plumbing for llSetVehicleType from the LSL
subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs6
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs6
2 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index 6af0781..2561fa5 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -537,6 +537,12 @@ namespace OpenSim.Region.Physics.OdePlugin
537 set { return; } 537 set { return; }
538 } 538 }
539 539
540 public override int VehicleType
541 {
542 get { return 0; }
543 set { return; }
544 }
545
540 public override void VehicleFloatParam(int param, float value) 546 public override void VehicleFloatParam(int param, float value)
541 { 547 {
542 548
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 9db7e8b..5d9b169 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -1876,6 +1876,12 @@ namespace OpenSim.Region.Physics.OdePlugin
1876 set { m_force = value; } 1876 set { m_force = value; }
1877 } 1877 }
1878 1878
1879 public override int VehicleType
1880 {
1881 get { return 0; }
1882 set { return; }
1883 }
1884
1879 public override void VehicleFloatParam(int param, float value) 1885 public override void VehicleFloatParam(int param, float value)
1880 { 1886 {
1881 1887