Difference between revisions of "PRIM POS LOCAL"

From Second Life Wiki
Jump to navigation Jump to search
Line 26: Line 26:
{{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=position
|i1_type=vector|i1_name=position|i1_desc={{#var:p_pos_desc}}
}}
}}
|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 32: Line 32:
|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=position
|r1_type=vector|r1_name=position|r1_desc={{#var:p_pos_desc}}
}}
}}
|examples
|examples

Revision as of 06:26, 3 August 2011

Emblem-important-red.png 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 All Issues ~ Search JIRA for related Bugs

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_POS_LOCAL ]);

Returns the list [ vector position ]

• vector position position in local coordinates.

All Issues ~ Search JIRA for related Bugs

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POS_LOCAL = -999;