PRIM ROTATION: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:rotation_const|{{LSL Const|PRIM_ROTATION|integer|8|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}} | |||
{{#vardefine:p_rot_desc|Any valid rotation}} | |||
}}</onlyinclude>{{#if: | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_ROTATION | |name=PRIM_ROTATION | ||
| Line 6: | Line 12: | ||
|value=8 | |value=8 | ||
|desc=PRIM_ROTATION is used to get or set the prim's rotation. | |desc=PRIM_ROTATION is used to get or set the prim's rotation. | ||
|pa={{LSL Constant/List|i_front=[  | |pa={{LSL Constant/List|i_front=[ {{#var:rotation_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=rotation|i1_name=rot | |i1_type=rotation|i1_name=rot | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:rotation_const}}|i_end= ]);| | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|text | |text | ||
Revision as of 20:39, 17 April 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.
[ PRIM_ROTATION, rotation rot ]
[ PRIM_ROTATION, rotation rot ]| • rotation | rot | – | Any valid rotation |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
Caveats
Related Articles
Functions
| • | llGetPrimitiveParams | |||
| • | llSetPrimitiveParams | |||
| • | llSetLinkPrimitiveParams | |||
| • | llGetRot | |||
| • | llSetRot | |||
| • | llSetLocalRot | |||
| • | llGetLocalRot | |||
| • | llGetRootRotation | |||
| • | llGetObjectDetails |