Original Post
Im trying to find the angle from the gunship to the beacon, using the atan2() funtion to get the angle, so it can turn round and face it. The values being returned to me dont make much sense, do I need to convert to degrees - if so how?
new_x = GunShip->x - Beacon->x; //x distance
new_y = GunShip->y - Beacon->y; //y distance
GunShip->new_direction = atan2(new_y,new_x);