Difference between revisions of "LlRot2Euler"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llRot2Euler moved to LlRot2Euler: removing prefix)
Line 20: Line 20:
</pre>
</pre>
|helpers
|helpers
|also_functions={{LSLG|llEuler2Rot}}
|also_functions={{LSL DefineRow||{{LSLG|llEuler2Rot}}|}}
|also_events
|also_events
|also_articles
|also_articles

Revision as of 13:14, 25 February 2007

Summary

Function: vector llRot2Euler( rotation quat );

Returns a vector that is the Euler representation (roll, pitch, yaw) of quat.

• rotation quat Any valid rotation

Examples

default
{
    state_entry()
    {
        rotationinput = <0.0, 1.0, 0.0, 0.0>;//not advised to make your own quaternion
        llSay(0,"The Rot2Euler of "+(string)input+" is: "+(string)llRot2Euler(input) );
    }
}

See Also

Functions

•  llEuler2Rot

Deep Notes

Search JIRA for related Issues

Signature

function vector llRot2Euler( rotation quat );