I’m building a 2D game with a catapult. I can’t figure out how to make a projectile with a rigidbody arc to hit the target. I have looked around and every other solution is too complicated or just doesn’t work. Any Ideas or pages I could look at? Like is there a simple equation ( In javascript code please ) that can solve my problem?
You’ll want to solve with the Bezier Curve equation.
I’m not a super mathematician (I barely like math) so I can’t really explain the how and why of the equation. But that’s the method you can use to find a suitable curve to a destination in 2D or 3D space.