llSetRot

From Second Life Wiki
Revision as of 12:15, 28 March 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llSetRot( rotation rot );
0.2 Forced Delay
10.0 Energy

Sets the rotation of the prim to rot.

• rotation rot

Caveats

  • This function causes the script to sleep for 0.2 seconds.
  • If the prim is attached, then this function offsets the rotation by the avatars rotation.
  • If the prim is not the root prim it is offset by the roots local rotation.
    • There is no easy way to get the roots local rotation of an attached object (other then being told by the root).

Examples

See Also

Functions

•  llGetRot
•  llSetLocalRot

Deep Notes

Signature

function void llSetRot( rotation rot );