Ho!
I am making a game where car collisions would occur, and to accurately make them, I need to know the angle relations between car A and car B.
Current script takes 2 angle values and if A is within range of (B-10;B+10) then the event occurs. Works fine, just like in situation 1 on the picture. HOWEVER, there is a spot in the angle system where (1-10;1+10) will not describe the angle of car B because it is 359. (shown on the illustration as situation 2)
How do I work around this? (or How do I test whether two objects are rotated towards approx. the same direction)