Difference between revisions of "LlEuler2Rot"
Jump to navigation
Jump to search
m |
m |
||
Line 29: | Line 29: | ||
|cat1=Math/3D | |cat1=Math/3D | ||
|cat2=Rotation | |cat2=Rotation | ||
|cat3= | |cat3=Euler | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 00:49, 18 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 rotation rot = llEuler2Rot(input); llSay(0,"The Euler2Rot of "+(string)input+" is: "+(string)rot ); } }