Attack
Last updated
Last updated
To configure the enemy's attack, set all the parameters in the AI Controller script and adjust the Attack Area (during the game, the enemy runs to that area and then attacks).
For melee enemies, make the small area, otherwise, they will attack characters very far.
If the detection type is Vision - the Attack Distance value regulates how many percents is the attack zone relative to the See Area.
In other cases, set the size of the attack zone as you need.