• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
MAINTENANCE ANNOUNCEMENT - JIRA will undergo maintenance starting 1:00am PDT through 3:00am on Saturday 2010.03.20. Please do not enter issues during this time as the system maybe restarted.
Issue Details (XML | Word | Printable)

Key: MISC-3161
Type: Meta Issue Meta Issue
Status: Open Open
Priority: Low Low
Assignee: Unassigned
Reporter: desdemona enfield
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
4. Second Life Misc Issues - MISC

llRot2Euler() and llEuler2Rot() are not working with Euler angles

Created: 30/Jul/09 12:11 PM   Updated: 30/Jul/09 07:02 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: not relevant


 Description  « Hide
The use of the world Euler in the llEuler2Rot() and llRot2Euler() script functions is a misnomer.

Aside from being completely misleading, this is harmless. The functions work fine, they just are not working with Euler angles.

----------------------
Euler angles are a method of describing rotations by means of progressive rotations about Z axis, the new Y axis and then the new Z axis. The progression is Z Y Z. (cf: http://en.wikipedia.org/wiki/Euler_angles)

The so-called LSL "Euler" functions work with angles which represent progressive rotations about the X, Y, and then Z axis. The progression is X Y Z. For small angles, these angles are commonly perceived as roll, pitch, and yaw.

des/demona



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.