mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Plumb the connection through from llSetVehicleFloatParam
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
This commit is contained in:
@@ -5171,7 +5171,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llSetVehicleFloatParam(int param, float value)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llSetVehicleFloatParam");
|
||||
|
||||
if (m_host.ParentGroup != null)
|
||||
{
|
||||
if (m_host.ParentGroup.RootPart != null)
|
||||
{
|
||||
m_host.ParentGroup.RootPart.SetVehicleFloatParam(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void llSetVehicleVectorParam(int param, LSL_Vector vec)
|
||||
|
||||
Reference in New Issue
Block a user