# ArcSin

Arithmetics
4.9.1.0 GWE
int
int value Length of the opposite leg
int radius Length of hypotenuse
Calculates arc sine of value/radius, or x = arcsin(value/radius). This corresponds to sin(x) = value/radius. This function is used to calculate an angle from horizontal and vertical offsets. However, in most cases Angle() does what you need.
Log
("Zielwinkel: %d Grad", ArcSin(Abs(GetY(target)-GetY()), ObjectDistance(target)));
Returns the target angle from the object to the target.
Angle
ArcCos
Sin
Sven2
2001-11