Difference between revisions of "PRIM POS LOCAL"

From Second Life Wiki
Jump to navigation Jump to search
m (testing to see if constant shows up in primparams table)
m (Undo revision 1152528 by Draconis Neurocam (Talk) facetable is used on llGetLinkPrimitiveParams)
Line 2: Line 2:


{{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}}
{{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}}
{{#vardefine:facetable|{{#var:facetable}}
{{!}}-
{{!}} [ {{#var:pos_local_const}} ]
{{!}} {{#var:return}} }}


{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}}
{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}}

Revision as of 14:24, 30 August 2011

Description

Constant: integer PRIM_POS_LOCAL = 33;

The integer constant PRIM_POS_LOCAL has the value 33

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 = 33;