Enemy AI – Pursue

This week I have further developed the enemy, by adding another steering behaviour -Purse.

To the EnemyController script I have added the follow code which makes the enemy pursue the Player. When the Player is within a certain radius of the enemy, the enemy turns to look at the Player and then moves towards the player.

Screenshot 2018-12-16 at 20.39.52

Leave a comment