I am writing an Zombie Entity that would chase player when they when close.
But the map have a lot of obstacles that player can abuse and make the Zombie stuck on the other side (like a table or a car) and kill it easily
I was thinking about using A* Pathfinding but it cost a lot of CPU
Another method I was think of is mark player's origin every 10 distance => Make Zombie go to that origin in order
But it make the Zombie look stupid if player just running around a circle and then the Zombie did the same.
Is there other method/way I could use for this problem?