mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Implement the plumbing for llSetVehicleType from the LSL
subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
This commit is contained in:
@@ -5159,7 +5159,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llSetVehicleType(int type)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llSetVehicleType");
|
||||
if (m_host.ParentGroup != null)
|
||||
{
|
||||
if (m_host.ParentGroup.RootPart != null)
|
||||
{
|
||||
m_host.ParentGroup.RootPart.SetVehicleType(type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in
|
||||
|
||||
Reference in New Issue
Block a user