Ok, I got all 3 sides of my triangle
Code:
|\
|q\
| \ Z
Y| \
| \
------
X
Now I need to find angle q.
Tan(q) = X/Y
tan-1(tan(q)) = angle of q
so now I need to know how to use the inverse tangent (atan) command
The only thing that confuses me is in funcwiki it says
Float: floatatan(Float:angle,radix)
new Float:angleq = floatatan(X/Y,degrees)
It says Float:angle but we want to find the angle using the arctan yet it says to specify the angle (Float:angle). Is this just a typo or is the atan command not arctan?