public llSetVehicleRotationParam ( int param, Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Quaternion rot ) : void | ||
param | int | |
rot | Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Quaternion | |
return | void |
public void llSetVehicleRotationParam(int param, LSL_Rotation rot)
{
if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;
if (m_host.ParentEntity != null)
{
if (!m_host.ParentEntity.IsDeleted)
{
m_host.ParentEntity.RootChild.SetVehicleRotationParam(param,
Rot2Quaternion(rot));
}
}
}