diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8eebf02..5fb2775 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2699,11 +2699,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2699 | // Orient the object to the angle calculated | 2699 | // Orient the object to the angle calculated |
2700 | llSetRot(rot); | 2700 | llSetRot(rot); |
2701 | } | 2701 | } |
2702 | |||
2703 | public void llRotLookAt(LSL_Rotation target, double strength, double damping) | ||
2704 | { | ||
2705 | m_host.AddScriptLPS(1); | ||
2706 | // NotImplemented("llRotLookAt"); | ||
2707 | m_host.RotLookAt(Rot2Quaternion(target), (float)strength, (float)damping); | ||
2708 | |||
2709 | } | ||
2710 | |||
2702 | 2711 | ||
2703 | public void llStopLookAt() | 2712 | public void llStopLookAt() |
2704 | { | 2713 | { |
2705 | m_host.AddScriptLPS(1); | 2714 | m_host.AddScriptLPS(1); |
2706 | NotImplemented("llStopLookAt"); | 2715 | // NotImplemented("llStopLookAt"); |
2716 | m_host.StopLookAt(); | ||
2707 | } | 2717 | } |
2708 | 2718 | ||
2709 | public void llSetTimerEvent(double sec) | 2719 | public void llSetTimerEvent(double sec) |
@@ -3047,12 +3057,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3047 | m_host.AddScriptLPS(1); | 3057 | m_host.AddScriptLPS(1); |
3048 | } | 3058 | } |
3049 | 3059 | ||
3050 | public void llRotLookAt(LSL_Rotation target, double strength, double damping) | ||
3051 | { | ||
3052 | m_host.AddScriptLPS(1); | ||
3053 | NotImplemented("llRotLookAt"); | ||
3054 | } | ||
3055 | |||
3056 | public LSL_Integer llStringLength(string str) | 3060 | public LSL_Integer llStringLength(string str) |
3057 | { | 3061 | { |
3058 | m_host.AddScriptLPS(1); | 3062 | m_host.AddScriptLPS(1); |