Project Boon - Dev Diary #21 - Enhancing the enemy AI with feinting

The EnemyBrain has an additional behavior. The AI can also feint after attacking, when it's not moving (because it's probably blocked) and sometimes at random.

Before shooting it LineTraces the player to see if you're on sight and only fires when it's true.

But because of the movement speed and the small delay after the trace it still can hit and damage other enemies.

Missiles spawn explosions, a good way to get feedback on where do projectiles hit.