Difference between revisions of "LlSetRot"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSL_Function
{{LSL_Function|func_id=61|func_sleep=0.2|func_energy=10.0|func=llSetRot
|func=LlSetRot|p1_type=rotation|p1_name=rot|
|p1_type=rotation|p1_name=rot
|func_id=?
|func_desc=Sets the rotation of the prim to '''rot'''.
|func_sleep
|return_text|spec
|func_energy
|sort=SetRot
|sort
|caveats=*If the prim is attached, then this function offsets the rotation by the avatars rotation.
|func_desc=If the object is not physical, this function sets the rotation. If the object is a child, the position is treated as root
*If the prim is not the root prim it is offset by the roots local rotation.
relative and the linked set is adjusted.
**There is no easy way to get the roots local rotation of an attached object.
|func_footnote
|examples|helpers|related|also|notes}}[[Category:LSL_Stub]]
|return_type
|return_text
|p1_type|p1_name|p1_desc
|p2_type|p2_name|p2_desc
|p3_type|p3_name|p3_desc
|p4_type|p4_name|p4_desc
|p5_type|p5_name|p5_desc
|p6_type|p6_name|p6_desc
|p7_type|p7_name|p7_desc
|p8_type|p8_name|p8_desc
|p9_type|p9_name|p9_desc
|p10_type|p10_name|p10_desc
|p11_type|p11_name|p11_desc
|p12_type|p12_name|p12_desc
|constants
|spec
|caveats
|examples
|helpers
|also_header
|also_functions
|also_tests
|also_events
|also_articles
|also_footer
|notes
|mode
|deprecated
|location
|inventory
|permission
|negative_index
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
}}

Revision as of 10:43, 23 February 2007