Difference between revisions of "Template:LSLRotGetSet"

From Second Life Wiki
Jump to: navigation, search
(Rotation Get and Set functions)
Line 10: Line 10:
 
|{{LSLG|llGetRootRotation}}||global rotation of prim||global rotation of root prim||global rotation of avatar||global rotation of avatar
 
|{{LSLG|llGetRootRotation}}||global rotation of prim||global rotation of root prim||global rotation of avatar||global rotation of avatar
 
|-
 
|-
|colspan="5" align="center" style="color:red"|{{LSLG|physics|Physical objects}} will not respond to any of the Set rotation functions
+
|colspan="5" align="center" style="color:red"|{{LSLG|physics|Physical objects}} which are not children in a linkset will not respond to setting rotations
 
|-
 
|-
 
|{{LSLG|llSetRot}}||set global rotation||set global rotation||set rotation relative to avatar||set rotation relative to avatar
 
|{{LSLG|llSetRot}}||set global rotation||set global rotation||set rotation relative to avatar||set rotation relative to avatar

Revision as of 16:41, 28 January 2007

Getting and setting rotations of prims
Function Alone or Root Link Member Attachment Attachment Linked Member
llGetRot global rotation of prim global rotation of prim global rotation of avatar global rotation of avatar * global rotation of prim (Not Useful?)
llGetLocalRot global rotation of prim rotation of prim relative to root prim global rotation of avatar rotation of prim relative to attachment root prim
llGetRootRotation global rotation of prim global rotation of root prim global rotation of avatar global rotation of avatar
Physical objects which are not children in a linkset will not respond to setting rotations
llSetRot set global rotation set global rotation set rotation relative to avatar set rotation relative to avatar
llSetLocalRot set global rotation set rotation of prim relative to root prim set global rotation relative to avatar set rotation of prim relative to attachment root prim