So im making a top down shooter and I want the enemy to follow the player when it detects it. But I don't know how to make the enemy keep following the player after hitting a wall.
So can someone please help me
Develop games in your browser. Powerful, performant & highly capable.
A common way to do this is with Pathfinding behavior. Calculate the path to the player, then follow the path. Just make sure you are not doing this on every tick - use Timer behavior or an event like "Every N seconds"