Category:LSL Rotation

From Second Life Wiki
Jump to navigation Jump to search

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:

llEuler2Rot(<0.0, 0.0, PI>) * llGetRot()