Difference between revisions of "PRIM ROTATION"

From Second Life Wiki
Jump to navigation Jump to search
m
m (db corruption fix?)
Line 4: Line 4:


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


}}</onlyinclude>{{#if:
}}</onlyinclude>{{#if:
Line 14: Line 15:
|pa={{LSL Constant/List|i_front=[&#32;{{#var:rotation_const}},&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:rotation_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|toc=llSetPrimitiveParams
|i1_type=rotation|i1_name=rot
|i1_type=rotation|i1_name=rot
}}
}}
Line 19: Line 21:
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text
|toc=llGetPrimitiveParams
|r1_type=rotation|r1_name=rot
|r1_type=rotation|r1_name=rot
}}
}}

Revision as of 21:57, 24 October 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;