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