Difference between revisions of "PRIM ROTATION"
Jump to navigation
Jump to search
m |
m (db corruption fix?) |
||
Line 4: | Line 4: | ||
{{#vardefine:p_rot_desc|Any valid rotation}} | {{#vardefine:p_rot_desc|Any valid rotation}} | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
Line 14: | Line 15: | ||
|pa={{LSL Constant/List|i_front=[ {{#var:rotation_const}}, |i_end= ] | |pa={{LSL Constant/List|i_front=[ {{#var:rotation_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|toc=llSetPrimitiveParams | |||
|i1_type=rotation|i1_name=rot | |i1_type=rotation|i1_name=rot | ||
}} | }} | ||
Line 19: | Line 21: | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|text | |text | ||
|toc=llGetPrimitiveParams | |||
|r1_type=rotation|r1_name=rot | |r1_type=rotation|r1_name=rot | ||
}} | }} |
Revision as of 21:57, 24 October 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_ROTATION = 8;The integer constant PRIM_ROTATION has the value 8
PRIM_ROTATION is used to get or set the prim's rotation.
llSetPrimitiveParams
[ PRIM_ROTATION, rotation rot ]• rotation | rot | – | Any valid rotation |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_ROTATION ]);Caveats
Related Articles
Functions
• | llGetPrimitiveParams | |||
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetRot | |||
• | llSetRot | |||
• | llSetLocalRot | |||
• | llGetLocalRot | |||
• | llGetRootRotation | |||
• | llGetObjectDetails |