diff options
author | Charles Krinke | 2008-09-28 21:20:25 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-28 21:20:25 +0000 |
commit | d68d631dc0fe66af2bc82af26cffdc8497cbe474 (patch) | |
tree | 75419b55e7da2b5c3af895afc2fdc03d8b76768a | |
parent | Add explicit CultureInfo to the script compile thread in DotNetEngine to (diff) | |
download | opensim-SC-d68d631dc0fe66af2bc82af26cffdc8497cbe474.zip opensim-SC-d68d631dc0fe66af2bc82af26cffdc8497cbe474.tar.gz opensim-SC-d68d631dc0fe66af2bc82af26cffdc8497cbe474.tar.bz2 opensim-SC-d68d631dc0fe66af2bc82af26cffdc8497cbe474.tar.xz |
A little bit further with LLSetVehicleVectorParam.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 4da3360..edc732e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5178,7 +5178,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5178 | public void llSetVehicleVectorParam(int param, LSL_Vector vec) | 5178 | public void llSetVehicleVectorParam(int param, LSL_Vector vec) |
5179 | { | 5179 | { |
5180 | m_host.AddScriptLPS(1); | 5180 | m_host.AddScriptLPS(1); |
5181 | NotImplemented("llSetVehicleVectorParam"); | 5181 | if (m_host.ParentGroup != null) |
5182 | { | ||
5183 | if (m_host.ParentGroup.RootPart != null) | ||
5184 | { | ||
5185 | m_host.ParentGroup.RootPart.SetVehicleVectorParam(param, | ||
5186 | new PhysicsVector((float)vec.x, (float)vec.y, (float)vec.z) ); | ||
5187 | } | ||
5188 | } | ||
5182 | } | 5189 | } |
5183 | 5190 | ||
5184 | public void llSetVehicleRotationParam(int param, LSL_Rotation rot) | 5191 | public void llSetVehicleRotationParam(int param, LSL_Rotation rot) |