From 6758ecc40375fb046f142f5f45a19513a89b1f86 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 28 Sep 2008 22:38:59 +0000 Subject: Implement the plumbing for llSetVehicleType from the LSL subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Environment') 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 } } + public void SetVehicleType(int type) + { + if (PhysActor != null) + { + PhysActor.VehicleType = type; + } + } + public void SetVehicleFloatParam(int param, float value) { if (PhysActor != null) -- cgit v1.1