I added this
And this
But I still get those big negative numbers. Any idea why?
EDIT: I made that it shows me directions to that destination Already thought that I ahve done it but when I changed coordinates to different place, it shows the same direction.
double Vx = (-211 - Conn.CompCar.X / 196608);
double Vy = (-90 - Conn.CompCar.Y / 196608);
And this
Alpha = Alpha * 180 / Math.PI;
But I still get those big negative numbers. Any idea why?
EDIT: I made that it shows me directions to that destination Already thought that I ahve done it but when I changed coordinates to different place, it shows the same direction.