I am working on a mortar that shoots a projectile into the air and the projectile falls and hits the point where the player was. How can I get the angle that I need to have the projectile hit the player?
MATHS… but in all seriousness i imagine theres a tutorial out there or you will need to figure out the math involved to calculate the arch.
I looked up a formula and used it in the engine but ran into a problem that ended up being a unit mismatch with gravity. I got it to work though