ll.GetRootRotation

ll.GetRootRotation() : quaternion

Returns the rotation (relative to the region) of the root prim of the object which the script is attached to. Gets the global rotation of the root object of the object script is attached to.

Example

ll.GetRootRotation()
{
  "def": "func",
  "desc": "Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\nGets the global rotation of the root object of the object script is attached to.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetRootRotation",
  "name": "GetRootRotation",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "quaternion"
          ],
          "optional": false
        }
      ],
      "args": []
    }
  ]
}

< Back to ll