Grenades, arrows and rocks are always fun in games. But the curved trajectories makes it hard for AI to figure out how to hit you with such projectiles.
This video offers a solution for how to calculate and implement the optimal angle of a throw to hit a certain location. The calculation is based off of real world physics.