Difference between revisions of "LlSetRot"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 13: Line 13:
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetRot]]|}}
{{LSL DefineRow||[[llGetRot]]|}}
{{LSL DefineRow||[[llSetLocalRot]]|}}
|also_tests
|also_tests
|also_events
|also_events
Line 18: Line 19:
|notes
|notes
|cat1=Movement
|cat1=Movement
|cat2
|cat2=Rotation
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 09:56, 23 March 2007

Summary

Function: llSetRot( rotation rot );

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.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetRot
•  llSetLocalRot

Deep Notes

Search JIRA for related Issues

Signature

function void llSetRot( rotation rot );