Hi all,
Im implementing an enemy type that will flee from player when player too close to them using navmesh.
For now, im multiplying player position vector3 with -1 on Z-axis. It works and the enemy move away from player direction but the problem now is, when i chase them to end/edge of navmesh they keep on trying to go to that direction.
Any help?
Thanks