I would really appreciate if someone could help me with the formula to find an angle of attacker (this is for a game). Every unit has x, y coordinates and facing angle. Facing angle is where the unit is looking. Left is 180, Up is 90, Right is 0/360 and Down is 270. As an output of the formula, I need an angle between 0 and 360 from where the unit got attacked. Please, I need as simplified solution as possible (low on difficult computations).