public void llTargetOmega(LSL_Vector axis, LSL_Float spinrate, LSL_Float gain) { if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) { return; } m_host.OmegaAxis = new Vector3((float)axis.x, (float)axis.y, (float)axis.z); m_host.OmegaGain = gain; m_host.OmegaSpinRate = spinrate; m_host.GenerateRotationalVelocityFromOmega(); ScriptData script = ScriptProtection.GetScript(m_itemID); if (script != null) { script.TargetOmegaWasSet = true; } m_host.ScheduleTerseUpdate(); //m_host.SendTerseUpdateTts(); }