No problem. Glad you got it sorted.
Type: Posts; User: KevinWorkman
No problem. Glad you got it sorted.
If you use atan2 instead, you don't have to double check the slope again. Play around with this:
double heading = Math.toDegrees(Math.atan2(yDistance, xDistance));
PS- The reason copeg...