Difference between revisions of "Category:LSL Rotation"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 6: Line 6:
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:
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()
<source lang="lsl2">llEuler2Rot(<0.0, 0.0, PI>) * llGetRot()</source>

Revision as of 14:23, 25 January 2015