Im trying to figure out how to get my enemy to rotate the shortest way to the player. However with the pan angles constrianed to 0>180/0>-180, the flip from 180 to -180 is giving me no end of trouble.
Is there a good way of dealing with this in a simple manner?