Difference between revisions of "LlEuler2Rot"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
|negative_index | |negative_index | ||
|cat1=Math/3D | |cat1=Math/3D | ||
|cat2= | |cat2=Rotation | ||
|cat3= | |cat3=Vector | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 16:44, 12 September 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: rotation llEuler2Rot( vector v );16 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a rotation representation of Euler Angles v.
• vector | v |
Caveats
Examples
default { state_entry() { vector input = <73.0, -63.0, 20.0> * DEG_TO_RAD;//not advised to make your own quaternion llSay(0,"The Euler2Rot of "+(string)input+" is: "+(string)llEuler2Rot(input) ); } }