mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
A little bit further with LLSetVehicleVectorParam.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user