- Home /
Question by
GreenHat43 · May 27, 2020 at 10:02 AM ·
2d gamepathfindingenemy aitop down shooterai problems
How do I make enemies only follow my player character when they are close enough to him?,How do I make it so that an enemy only follows my player when the player character is close enough to the enemy.
I'm trying to create an overhead shooter and I'm using A* to program the enemies. The problem is the enemies always try to follow the player no matter where he is on the map. Does anybody know a way to make it so that the player has to be close enough to the enemies in order for them to start following the player?
Comment
Your answer
Follow this Question
Related Questions
How to do bullet spread in 2D? 1 Answer
Need help with my melee system and arrays 0 Answers
How to create a cinemachine custom camera offset in the aiming direction 0 Answers
How do I invert mouse movement for a specific section of my game? 3 Answers
Unity2D Space shooter rotation resetting when analogue stick input has ended 1 Answer