diff options
author | Charles Krinke | 2008-09-28 22:38:59 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-28 22:38:59 +0000 |
commit | 6758ecc40375fb046f142f5f45a19513a89b1f86 (patch) | |
tree | ad96c1b2674d2124952ca63e4ec60a2703ed7945 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | Mantis#2291. Thank you kindly, StrawberryFride for a patch that solves: (diff) | |
download | opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.zip opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.gz opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.bz2 opensim-SC_OLD-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/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 68df0e4..17d678d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2337,6 +2337,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
2337 | } | 2337 | } |
2338 | } | 2338 | } |
2339 | 2339 | ||
2340 | public void SetVehicleType(int type) | ||
2341 | { | ||
2342 | if (PhysActor != null) | ||
2343 | { | ||
2344 | PhysActor.VehicleType = type; | ||
2345 | } | ||
2346 | } | ||
2347 | |||
2340 | public void SetVehicleFloatParam(int param, float value) | 2348 | public void SetVehicleFloatParam(int param, float value) |
2341 | { | 2349 | { |
2342 | if (PhysActor != null) | 2350 | if (PhysActor != null) |