llSetRot(rotation rot)
If an
object is
non-physical, sets the
rotation to
rot. In a
linked set, this will be root-relative.
If the object is a child in a linked
physical set, this function will also work (see
ChildRotation).
For rotation on
physical tasks see
llRotLookAt.
For the translational analog, see
llSetPos.
To set the rotation of a
child prim, use
llSetLocalRot.
Note: This function
delays the
script for 0.2 seconds.
See also
llGetRot,
llSetPrimitiveParams.
Q: Does llSetRot work on attachments?
A: Yes.
Functions |
Dynamics |
Rotation