PRIM POSITION

From Second Life Wiki
Revision as of 22:51, 31 December 2008 by Ppaatt Lynagh (talk | contribs) (Link to the obsolete undocumented posJump only thru the current undocumented warpPos, not more directly)
Jump to navigation Jump to search

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

  • Depending upon the situation position may need to be in local coordinates or region coordinates, See llSetPos#Specification for details.
  • The range the prim can move is limited if it is an unattached root prim. The distance is capped to 10m per PRIM_POSITION call. See WarpPos. This is a very special case. Do not rely on other tag duplication - the results are undefined, and things *will* break in the future.

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_POSITION ]);

Returns the list [ vector position ]

• vector position position in region coordinates.

Caveats

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POSITION = 6;