Difference between revisions of "PRIM ROTATION"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 23: Line 23:


}}{{LSL Constant
}}{{LSL Constant
|inject-2={{LSL PrimitiveParam Categorize|Prim}}
|name=PRIM_ROTATION
|name=PRIM_ROTATION
|type=integer
|type=integer
Line 56: Line 57:
<!--{{LSL DefineRow||[[changed]]|}}-->
<!--{{LSL DefineRow||[[changed]]|}}-->
|location
|location
|cat1=Prim
|cat1
|cat2=Rotation
|cat2=Rotation
|cat3=Movement
|cat3=Movement
|cat4
|cat4
}}
}}

Revision as of 22:18, 1 July 2012

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

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;