Difference between revisions of "PRIM POSITION"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:


{{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}}
{{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}}
{{#vardefine:p_position_desc|Gets or sets the position.}}


{{#vardefine:caveats-get|* '''position''' is always in [[Viewer_coordinate_frames#region|region coordinates]], even if the prim is a child or the root prim of an [[attachment]].}}
{{#vardefine:caveats-get|* '''position''' is always in [[Viewer_coordinate_frames#region|region coordinates]], even if the prim is a child or the root prim of an [[attachment]].}}

Revision as of 15:36, 11 October 2008

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.

llSetPrimitiveParams

[ PRIM_POSITION, vector position ]
• vector position position in local or regional coordinates depending upon the situation.

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

Caveats

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_POSITION ]);

Returns the list [ vector position ]

• vector position position in region coordinates.

Caveats

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POSITION = 6;