Difference between revisions of "PRIM POSITION"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}} | |||
{{#vardefine:p_position_desc|}} | |||
}}</onlyinclude>{{#if: | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_POSITION | |name=PRIM_POSITION | ||
Line 6: | Line 12: | ||
|value=6 | |value=6 | ||
|desc=PRIM_POSITION is used to get or set the prim's position. | |desc=PRIM_POSITION is used to get or set the prim's position. | ||
|pa={{LSL Constant/List|i_front=[  | |pa={{LSL Constant/List|i_front=[ {{#var:position_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=vector|i1_name=position | |i1_type=vector|i1_name=position | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:position_const}}|i_end= ]);| | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|text | |text |
Revision as of 19:37, 17 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_POSITION = 6;The integer constant PRIM_POSITION has the value 6
PRIM_POSITION is used to get or set the prim's position.
[ PRIM_POSITION, vector position ]
[ PRIM_POSITION, vector position ]• vector | position |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
Caveats
Related Articles
Functions
• | llGetPrimitiveParams | |||
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPos | |||
• | llSetPos | |||
• | llGetLocalPos | |||
• | llGetRootPosition | |||
• | llGetObjectDetails |