- Home /
Wandering enemies
I'm trying to get an enemy to wander in a certain area from it's spawn location which is just an empty game object. Anyone know a basic script I can use for making my enemies randomly wander within a certain distance near my spawn node?
Comment
Answer by GerryM · Feb 23, 2013 at 10:47 PM
There are some free AI solutions in the asset store.
You could also do your own waypoint script, check the wiki for starters.
Your answer
![](https://koobas.hobune.stream/wayback/20220613093256im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Random Running and Follow at Certain Distance 0 Answers
How can I make AI follow waypoints and choose random ones? 1 Answer
AI Pathfinding 1 Answer
Confused about copying Lists! 1 Answer