Difference between revisions of "PRIM ROTATION"

From Second Life Wiki
Jump to navigation Jump to search
m (db corruption fix?)
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:rotation_const|{{LSL Const|PRIM_ROTATION|integer|8|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}}
{{#vardefine:rotation_const|{{LSL Const|PRIM_ROTATION|integer|8|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's rotation}}}}


{{#vardefine:p_rot_desc|Any valid rotation}}
{{#vardefine:p_rot_desc|Any valid rotation}}

Revision as of 13:13, 30 November 2008

Description

Constant: integer PRIM_ROTATION = 8;

The integer constant PRIM_ROTATION has the value 8

PRIM_ROTATION is used to get or set the prim's rotation.

llSetPrimitiveParams

[ PRIM_ROTATION, rotation rot ]
• rotation rot Any valid rotation

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_ROTATION ]);

Returns the list [ rotation rot ]

• rotation rot Any valid rotation

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_ROTATION = 8;