aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorKitto Flora2010-03-14 16:22:13 -0400
committerKitto Flora2010-03-14 16:22:13 -0400
commit819806261026cccd68dee649f11938ae5bf10029 (patch)
tree4e772b2c06f42ace9236223da704666900ccae3e /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentFix Rotation Lock. NOTE: This version had poor border crossing control (diff)
downloadopensim-SC_OLD-819806261026cccd68dee649f11938ae5bf10029.zip
opensim-SC_OLD-819806261026cccd68dee649f11938ae5bf10029.tar.gz
opensim-SC_OLD-819806261026cccd68dee649f11938ae5bf10029.tar.bz2
opensim-SC_OLD-819806261026cccd68dee649f11938ae5bf10029.tar.xz
RotLookAt repaired; debug msg cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 180fba9..83f7db0 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2899,10 +2899,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2899 // the angles of rotation in radians into rotation value 2899 // the angles of rotation in radians into rotation value
2900 2900
2901 LSL_Types.Quaternion rot = llEuler2Rot(angle); 2901 LSL_Types.Quaternion rot = llEuler2Rot(angle);
2902 /*
2902 Quaternion rotation = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s); 2903 Quaternion rotation = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s);
2903 m_host.startLookAt(rotation, (float)damping, (float)strength); 2904 m_host.startLookAt(rotation, (float)damping, (float)strength);
2905 This would only work if your physics system contains an APID controller */
2904 // Orient the object to the angle calculated 2906 // Orient the object to the angle calculated
2905 //llSetRot(rot); 2907 llSetRot(rot);
2906 } 2908 }
2907 2909
2908 public void llRotLookAt(LSL_Rotation target, double strength, double damping) 2910 public void llRotLookAt(LSL_Rotation target, double strength, double damping)