- Unity 2018 Artificial Intelligence Cookbook(Second Edition)
- Jorge Palacios
- 41字
- 2021-07-16 18:11:31
How it works...
First, we are solving the equation from the previous recipe for a fixed height, and, given the projectile's current position and speed, we are able to get the time at which the projectile will reach the given height.