Difference between revisions of "LlRot2Euler"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
|permission | |permission | ||
|negative_index | |negative_index | ||
|cat1=Math | |cat1=Math/3D | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 20:52, 2 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llRot2Euler( rotation quat );15 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the Euler representation (roll, pitch, yaw) of quat.
• rotation | quat | – | Any valid rotation |
Caveats
Examples
default { state_entry() { rotation input = <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) ); } }