I am playing around with a soccer game and can’t figure out what force I need to apply to the ball (Static Mesh -> Add Force) to pass it from location A to a target location B. The source and the target locations will always be on the XY plane and I can calculate the vector from one to the other (e.g. (100, 100, 0) if the target is 100 units to the right and in front of the source) but I need to add a Z amount and some sort of multiplication so that the ball leaves the ground and lands at the target and I don’t know how much. I’ve randomly tried things like Z=50% of the length of the vector with a multiplier of 100 as in the image but it’s not happening for me. The ball moves in the correct direction towards the target but with completely the wrong power - underhit for short passes and overhit for long passes.
Can anyone help?