Skip to content

llSetRot

  • DirectoryllSetRot void
    • Rotation rotation

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.