llAngleBetween.lsl 278 B

1234567891011
  1. default
  2. {
  3. state_entry()
  4. {
  5. rotation aRot = ZERO_ROTATION;
  6. rotation bRot = llGetRot();
  7. float aBetween = llAngleBetween( aRot, bRot );
  8. llOwnerSay((string)aBetween);
  9. //llGetRot() being < 0, 0, 90 > this should report 1.570796
  10. }
  11. }