LlRot2Euler
From Second Life Wiki
(Redirected from LSL llRot2Euler)
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Description
Function: vector llRot2Euler( rotation quat );| 15 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns a vector that is the Euler representation (roll, pitch, yaw) of quat.
| • rotation | quat | – | Any valid rotation |
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) ); } }

