Difference between revisions of "LSL llSetRot"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSLFunctionAll|func_id=61|func_sleep=0.2|func_energy=10.0|func=llSetRot|p1_type=rotation|p1_name=rot| | {{LSLFunctionAll|func_id=61|func_sleep=0.2|func_energy=10.0|func=llSetRot | ||
|p1_type=rotation|p1_name=rot | |||
|func_desc=Sets the rotation of the prim to '''rot'''. | |||
|return_text|spec | |||
|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. | |||
**There is no easy way to get the roots local rotation of an attached object. | |||
|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]] |
Revision as of 17:38, 28 January 2007
Outdated templated used
Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.
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.