Difference between revisions of "LSL llSetRot"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{ | {{LSL_Function|func_id=61|func_sleep=0.2|func_energy=10.0|func=llSetRot | ||
|p1_type=rotation|p1_name=rot | |p1_type=rotation|p1_name=rot | ||
|func_desc=Sets the rotation of the prim to '''rot'''. | |func_desc=Sets the rotation of the prim to '''rot'''. | ||
|return_text|spec | |return_text|spec | ||
|sort=SetRot | |||
|caveats=*If the prim is attached, then this function offsets the rotation by the avatars rotation. | |caveats=*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. | *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. | **There is no easy way to get the roots local rotation of an attached object. | ||
|examples|helpers|related|also|notes}} | |examples|helpers|related|also|notes}}[[Category:LSL_Stub]] |
Revision as of 17:39, 28 January 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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.