From 37478629995e6c113fa1ccbd56eb948c64e0f594 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 28 Sep 2008 20:20:32 +0000 Subject: 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. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 302bda3..e76952a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -2337,11 +2337,19 @@ namespace OpenSim.Region.Environment.Scenes } } - public void SetVehicleFloatParam(float value) + public void SetVehicleFloatParam(int param, float value) { if (PhysActor != null) { - PhysActor.VehicleFloatParam = value; + PhysActor.VehicleFloatParam(param, value); + } + } + + public void SetVehicleVectorParam(int param, PhysicsVector value) + { + if (PhysActor != null) + { + PhysActor.VehicleVectorParam(param, value); } } -- cgit v1.1