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 11f255f..1dc20ff 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2694,11 +2694,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2694 | // Orient the object to the angle calculated | 2694 | // Orient the object to the angle calculated |
2695 | llSetRot(rot); | 2695 | llSetRot(rot); |
2696 | } | 2696 | } |
2697 | |||
2698 | public void llRotLookAt(LSL_Rotation target, double strength, double damping) | ||
2699 | { | ||
2700 | m_host.AddScriptLPS(1); | ||
2701 | // NotImplemented("llRotLookAt"); | ||
2702 | m_host.RotLookAt(Rot2Quaternion(target), (float)strength, (float)damping); | ||
2703 | |||
2704 | } | ||
2705 | |||
2697 | 2706 | ||
2698 | public void llStopLookAt() | 2707 | public void llStopLookAt() |
2699 | { | 2708 | { |
2700 | m_host.AddScriptLPS(1); | 2709 | m_host.AddScriptLPS(1); |
2701 | NotImplemented("llStopLookAt"); | 2710 | // NotImplemented("llStopLookAt"); |
2711 | m_host.StopLookAt(); | ||
2702 | } | 2712 | } |
2703 | 2713 | ||
2704 | public void llSetTimerEvent(double sec) | 2714 | public void llSetTimerEvent(double sec) |
@@ -3042,12 +3052,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3042 | m_host.AddScriptLPS(1); | 3052 | m_host.AddScriptLPS(1); |
3043 | } | 3053 | } |
3044 | 3054 | ||
3045 | public void llRotLookAt(LSL_Rotation target, double strength, double damping) | ||
3046 | { | ||
3047 | m_host.AddScriptLPS(1); | ||
3048 | NotImplemented("llRotLookAt"); | ||
3049 | } | ||
3050 | |||
3051 | public LSL_Integer llStringLength(string str) | 3055 | public LSL_Integer llStringLength(string str) |
3052 | { | 3056 | { |
3053 | m_host.AddScriptLPS(1); | 3057 | m_host.AddScriptLPS(1); |