ll.AngleBetween

ll.AngleBetween(Rot1: quaternion, Rot2: quaternion) : number

Returns the angle, in radians, between rotations Rot1 and Rot2.

Example

ll.AngleBetween(quaternion(0,0,0,1), quaternion(0,0,0,1))
{
  "def": "func",
  "desc": "Returns the angle, in radians, between rotations Rot1 and Rot2.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlAngleBetween",
  "name": "AngleBetween",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Rot1",
          "desc": "First rotation.",
          "type": [
            "quaternion"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Rot2",
          "desc": "Second rotation.",
          "type": [
            "quaternion"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll