llGetRootRotation
function ll.GetRootRotation(): quaternionReturns 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.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetRootRotation().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetRootRotation