Difference between revisions of "Category:LSL Rotation"

From Second Life Wiki
Jump to navigation Jump to search
(added pointer to rotation page)
m
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LSL Header}}
{{LSL Header|ml=*}}{{LSLC|}}{{LSLC|Types}}
The [[rotation]] page is where you can find detailed information about how to work with rotations.
The [[rotation]] page is where you can find detailed information about how to work with rotations.
Functions in this category fall into two categories: Rotations in the purely mathematical sense and Rotations as in prim / object rotation.
Quick Tip! To reverse a rotation (say something is facing north and you want it to face south, e.g. 180 degrees difference), add pi to the z value of the euler vector:
<source lang="lsl2">llEuler2Rot(<0.0, 0.0, PI>) * llGetRot()</source>

Revision as of 14:23, 25 January 2015