I have an odd trig question, that I hope my poor drawing skills can illustrate and perhaps I can coax some help with how to solve it out of someone 
I am trying to solve a problem for an AI that will follow a straight path to an objective. The Object needs to turn to face the destination and then move forward.
1)Unfortunately the engine used does not put the 0r / 360 degree mark on the right / East arm of a graph like one would expect, it places it at the top, or North on a compass.
2) 0 faces directly North on the compas going clockwise all the way to 6.28r / 360 degrees
3) the coordinates function like a normal graph, North / South being Positive / negative and the same for East / West
If you can see the picture I am trying to solve for X so I know what direction, in degrees, the object needs to turn to
Any help is appreciated.
Thank you
I am trying to solve a problem for an AI that will follow a straight path to an objective. The Object needs to turn to face the destination and then move forward.
1)Unfortunately the engine used does not put the 0r / 360 degree mark on the right / East arm of a graph like one would expect, it places it at the top, or North on a compass.
2) 0 faces directly North on the compas going clockwise all the way to 6.28r / 360 degrees
3) the coordinates function like a normal graph, North / South being Positive / negative and the same for East / West
If you can see the picture I am trying to solve for X so I know what direction, in degrees, the object needs to turn to
Any help is appreciated.
Thank you
Attachments
Last edited: