Don't click here unless you want to be banned.

LSL Wiki : llRot2Euler

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
vector llRot2Euler(rotation rot)

Returns the Euler representation of rot, in radians.

See rotations for more information.

Example:
rotation rot = <0.00000, 0.00000, 0.38268, 0.92388>;
vector eulerAngle = llRot2Euler(rot); //convert to Euler angle.
vector eulerRotation = eulerAngle * RAD_TO_DEG; //convert euler angle to euler rotation.

Compare with llEuler2Rot.

Rotation Math Library


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions / Rotation
There is no comment on this page. [Display comments/form]