diff options
author | Charles Krinke | 2008-09-28 20:20:32 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-28 20:20:32 +0000 |
commit | 37478629995e6c113fa1ccbd56eb948c64e0f594 (patch) | |
tree | 7d468079beabb2547c7add896af59f29bef3b6b3 /OpenSim/Region/Environment/Scenes | |
parent | Mantis #1922 (diff) | |
download | opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.zip opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.gz opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.bz2 opensim-SC_OLD-37478629995e6c113fa1ccbd56eb948c64e0f594.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-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 | ||