diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 10 insertions, 2 deletions
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 | |||
2337 | } | 2337 | } |
2338 | } | 2338 | } |
2339 | 2339 | ||
2340 | public void SetVehicleFloatParam(float value) | 2340 | public void SetVehicleFloatParam(int param, float value) |
2341 | { | 2341 | { |
2342 | if (PhysActor != null) | 2342 | if (PhysActor != null) |
2343 | { | 2343 | { |
2344 | PhysActor.VehicleFloatParam = value; | 2344 | PhysActor.VehicleFloatParam(param, value); |
2345 | } | ||
2346 | } | ||
2347 | |||
2348 | public void SetVehicleVectorParam(int param, PhysicsVector value) | ||
2349 | { | ||
2350 | if (PhysActor != null) | ||
2351 | { | ||
2352 | PhysActor.VehicleVectorParam(param, value); | ||
2345 | } | 2353 | } |
2346 | } | 2354 | } |
2347 | 2355 | ||