Difference between revisions of "PRIM POS LOCAL"
Jump to navigation
Jump to search
Void Singer (talk | contribs) m (llSetPos is llSetLocalPos (which doesn't exist)) |
|||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer| | {{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}} | ||
{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}} | {{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}} |
Revision as of 01:16, 21 August 2011
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Pre-release Documentation Warning! | |
This constant is not available yet. This documentation was written prior to its final release so it may not match the final implementation. |
Description
Constant: integer PRIM_POS_LOCAL = -999;The integer constant PRIM_POS_LOCAL has the value -999
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