I've been doing it manually, using pythagorean, and then find the degree of the triangle (alpha). So player will rotate α degree and it'll facing the enemy.
Suppose I got sine α = 0.2, to find α, it is asine(0.2), right? But when I used Math.asine(0.2), it always return with the same (close to) number, 0.2. Not the degree which I needed to find.
Am I doing it right? Is there an easier way to do this? Or maybe any other suggestions?
Thanks for your help.