llSetRot
function ll.SetRot(Rotation: quaternion)If the object is not physical, this function sets the rotation of the prim.
If the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.
If the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.
Parameters
-
Rotation(quaternion)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetRot().
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: llSetRot