Moving coordinate in angle?
in
Programming Questions
•
2 years ago
I might just be missing something obvious but how do I calculate the x and y movement if I have the distance and the angle of the movement.
I want all coordinates to stay within a certain distance to the center. I have succeeded to get both the distance and the angle from the center with help of dist(); and atan2();
I guess it's trigonometry but my math skills haven't been refreshed since college. Could anyone help me out?
1