A little bit further with LLSetVehicleVectorParam.

0.6.0-stable
Charles Krinke 2008-09-28 21:20:25 +00:00
parent c2308d8a7d
commit d68d631dc0
1 changed files with 8 additions and 1 deletions

View File

@ -5178,7 +5178,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llSetVehicleVectorParam(int param, LSL_Vector vec)
{
m_host.AddScriptLPS(1);
NotImplemented("llSetVehicleVectorParam");
if (m_host.ParentGroup != null)
{
if (m_host.ParentGroup.RootPart != null)
{
m_host.ParentGroup.RootPart.SetVehicleVectorParam(param,
new PhysicsVector((float)vec.x, (float)vec.y, (float)vec.z) );
}
}
}
public void llSetVehicleRotationParam(int param, LSL_Rotation rot)