Difference between revisions of "PRIM ROTATION"

From Second Life Wiki
Jump to navigation Jump to search
(finally got those caveat subsections done. Been bothering me for a while now.)
m (Adding llGetLinkPrimitiveParams to Related Articles)
Line 26: Line 26:
|value=8
|value=8
|desc=PRIM_ROTATION is used to get or set the prim's rotation.
|desc=PRIM_ROTATION is used to get or set the prim's rotation.
|pa={{LSL Constant/List|i_front=[ {{#var:rotation_const}}, |i_end= ]
|pa={{LSL Constant/List|i_front=([ {{#var:rotation_const}}, |i_end= ]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
{{LSL Generic/Caveats|caveats={{#var:caveats-set}}|title=*}}
{{LSL Generic/Caveats|caveats={{#var:caveats-set}}|title=*}}
Line 43: Line 43:
|functions=
|functions=
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}

Revision as of 21:40, 17 August 2010

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 All Issues ~ Search JIRA for related Bugs

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_ROTATION ]);

Returns the list [ rotation rot ]

• rotation rot Any valid rotation

Caveats

All Issues ~ Search JIRA for related Bugs

Deep Notes

All Issues

~ Search JIRA for related Issues
   llSetRot and llSetPrimitiveParams (using PRIM_ROTATION) incorrectly implemented for child prims.

Signature

integer PRIM_ROTATION = 8;