Covers

In the game, if an enemy finds suitable cover (close enough to yourself and the character), he will hide behind it.

If you use this feature, don't forget to add 'all-directions movement' animations.

To enable this feature, activate Use Covers checkbox in the EnemyController script:

How to create a cover?

  1. Create an object in a scene

  2. Add the Surface script on it

  3. Set the Cover checkbox