Difference between revisions of "PRIM POSITION"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 59: Line 59:
|events=
|events=
<!--{{LSL DefineRow||[[changed]]|}}-->
<!--{{LSL DefineRow||[[changed]]|}}-->
|articles=
{{LSL DefineRow||[[warpPos]]|}}
{{LSL DefineRow||[[PosJump]]|}}
|location
|location
|cat1=Prim
|cat1=Prim

Revision as of 17:45, 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

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POSITION = 6;