PRIM POSITION
Revision as of 13:45, 11 October 2008 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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 |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
Caveats
- Depending upon the situation position may need to be in local coordinates or global coordinates, See llSetPos#Specification for details.
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_POSITION ]);Returns the list [ vector position ]
• vector | position |
Caveats
- position is always in global coordinates, even if the prim is a child.
Caveats
Related Articles
Functions
• | llGetPrimitiveParams | |||
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPos | |||
• | llSetPos | |||
• | llGetLocalPos | |||
• | llGetRootPosition | |||
• | llGetObjectDetails |