diff options
Diffstat (limited to 'OpenSim/Region')
-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) |