Hi, I’m trying to make a game in which there is a space level that has enemies that chase the player. I’m trying to make it so there are certain checkpoints and the enemy goes to whichever checkpoint the player is closest to so the enemy avoids hitting the level obstacles. Is there a way to do this?
Thanks in advance.
1 Like
Is the game platform or top-down?
It’s a top-down game
1 Like
I have an example for an enemy chasing you
but could you rephrase what you want the enemy to do?
I’m trying to make a simple pathfinding system for an enemy spaceship, it’s supposed to be able to navigate around asteroid obstacles buy using certain checkpoints so it doesn’t collide with the asteroids while tracking the player.
2 Likes