Script Reference |
arcsin (name) //Expert |
Used for : Math.
Parameters :
Description :
Calculates the arcussinus of a number. [Variabels] can be used as parameters.
This example calculates the angle 0-90° from the mouse position to a specified center point.
setnum (CenterX ; 500)
(*1st get absolute distance from center
setnum (C ; [A]*[A] + [B]*[B]) (*Get the angle by dividing B by C
*)
(*Getting degree vom Angle by checking a table*) |