Click to shoot Bullet Bounce Views Come
Good explanation on how the math works https://scratch.mit.edu/projects/99412537/