I have an enemy and a character to control. I want to get the enemy to follow the character in a straight line. I already found the angle in which the enemy needs to travel.
double angle = Math.atan2(y, x) * 180 / Math.PI;
Now, let's say it return 73.0. What do I do with that number? And what if it's a negative angle.
BTW, I'm using dx(dynamic x) and dy(dynamic y) to control movement.