In my Iphone game i have a tank.
I want the tank "only" to shoot when a enemy is within 5 degr of the tank turret, no matter how far the enemy and the tank turret are away from eachother.
I have seen the "is between angle conditions etc".
However i havent found a solution to this.
Anyone have some insight?