RotLookAt repaired; debug msg cleanup.

This commit is contained in:
Kitto Flora
2010-03-14 16:22:13 -04:00
parent 1379ae4310
commit 8198062610
4 changed files with 159 additions and 452 deletions

View File

@@ -2899,10 +2899,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// the angles of rotation in radians into rotation value
LSL_Types.Quaternion rot = llEuler2Rot(angle);
/*
Quaternion rotation = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s);
m_host.startLookAt(rotation, (float)damping, (float)strength);
This would only work if your physics system contains an APID controller */
// Orient the object to the angle calculated
//llSetRot(rot);
llSetRot(rot);
}
public void llRotLookAt(LSL_Rotation target, double strength, double damping)