Difference between revisions of "PRIM POS LOCAL"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}} | {{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}} | ||
{{#vardefine:p_pos_hover|position in local coordinates.}} | |||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
|get={{#vardefine:caveats|{{#var:caveats}} | |get={{#vardefine:caveats|{{#var:caveats}} | ||
Line 25: | Line 27: | ||
{{LSL Generic/Caveats|caveats={{#var:caveats-set}}|title=*}} | {{LSL Generic/Caveats|caveats={{#var:caveats-set}}|title=*}} | ||
|toc=llSetPrimitiveParams | |toc=llSetPrimitiveParams | ||
|i1_type=vector|i1_name= | |i1_type=vector|i1_name=pos|i1_disp=position | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:pos_local_const}}|i_end= ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:pos_local_const}}|i_end= ]);| | ||
Line 31: | Line 33: | ||
|text={{LSL Generic/Caveats|caveats={{#var:caveats-get}}|title=*}} | |text={{LSL Generic/Caveats|caveats={{#var:caveats-get}}|title=*}} | ||
|toc=llGetPrimitiveParams | |toc=llGetPrimitiveParams | ||
|r1_type=vector|r1_name= | |r1_type=vector|r1_name=pos|r1_disp=position | ||
}} | }} | ||
|examples | |examples |
Latest revision as of 09:07, 28 February 2016
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_POS_LOCAL = 33;The integer constant PRIM_POS_LOCAL has the value 33
PRIM_POS_LOCAL is used to get or set the prim's local position.
llSetPrimitiveParams
llSetPrimitiveParams([ PRIM_POS_LOCAL, vector position ]);• vector | position | – | position in local coordinates. |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_POS_LOCAL ]);Caveats