- Unity 2018 Artificial Intelligence Cookbook(Second Edition)
- Jorge Palacios
- 46字
- 2021-07-16 18:11:32
How it works...
Given a fixed speed, we solve the corresponding quadratic equation in order to obtain the desired direction (when at least a single one-time value is available), which doesn't need to be normalized because we already normalized the vector while setting up the projectile.