![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=1739532509-IQAb5cS9LqSMN5eJ8C6BTER1A76cbBYi-0-58db5e9520f8cd4435b30b926bf46e26)
A visual description of the parameters for creating the Wander behavior