![Unity 2018 Artificial Intelligence Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/543/36699543/b_36699543.jpg)
上QQ阅读APP看书,第一时间看更新
How it works...
The behavior takes two radii in order into consideration to get a random position to go next, looks toward that random point, and converts the computed orientation into a direction vector in order to advance:
![](https://epubservercos.yuewen.com/6E49B3/19470389808865706/epubprivate/OEBPS/Images/08f1a38b-ac50-4d01-8001-032ec167c969.png?sign=1738906854-Kfhwa6mn1glN9lwJddMt1RXlVRSQOIjL-0-0f2a32a5b747bfdbeb7bdc8b2ed4fe3f)
A visual description of the parameters for creating the Wander behavior