Projectile Cannon

There is a built in function that does this.

You will get the predicted locations with a set sample count and simulation time.