Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llSetRot

LSL
void llSetRot(rotation rot)

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

TypeName
rotation rot
Sleeps 0.2s
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL