![Unity 2018 Artificial Intelligence Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/543/36699543/b_36699543.jpg)
上QQ阅读APP看书,第一时间看更新
There's more...
We could extend this approach by mixing it with weighted blending, so we would have a more robust architecture, achieving extra precision in the way the behaviors impact on the agent at every priority level:
foreach (Steering singleSteering in group) { steering.linear += singleSteering.linear * weight; steering.angular += singleSteering.angular * weight; }