i'm using Invector Version 2.5.0 with Unity Version 2019.3.0f6 and i'm facing this problem:
The vEnemyAI-controller detects, chases player and attacks player depending on the values in the Detection-section if player enters detection-zone for the first time.
If player runs away and enters the detection-zone for the second time, vEnemyAI-controller can see the Player but will not chase and attack player, even if player deals damage to AI. The AI is blocking and dodging, but won't attack/chase.
I played around with different values in the Detection-section without success.
Only need simple AI to prevent player from entering specific areas depending on game progress.
I pasted code at end of PatrolWaypoints(), but no success.
State changes to "Chase" when AI-Controller detects player, but AI won't attack when entering detection-zone for second time.
What i found out:
If AIs Current State is set to "Idle" or "Wander", then AI attacks if player enters detection zone for the first time. If i set AIs Current State to "Chase", AI won't attack, even if player enters for the first time.