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))
Raw function spec json
{
  "def": "func",
  "desc": "Returns the angle, in radians, between rotations Rot1 and Rot2.",
  "energy": 10,
  "sleep": 0,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlAngleBetween",
  "private": false,
  "takesSelf": false,
  "name": "AngleBetween",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Rot1",
          "desc": "First rotation.",
          "type": [
            {
              "def": "simple",
              "value": "quaternion"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Rot2",
          "desc": "Second rotation.",
          "type": [
            {
              "def": "simple",
              "value": "quaternion"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll