Here is the complement opposite scenario:
Calculate the needed Force to hit a target.
(Video would look almost the same) UPBGE03_hitpoint_neededForce.blend (915.7 KB)
Controls:
WASD Move
Mouse look
Space jump
Mousewheel Force
LMB shoot
RMB Grab
Enter Restart Game
Credits:
VolleyBall
https://blendswap.com/blend/12793
Girl model and animation from
https://quaternius.com/packs/ultimatemodularwomen.html
Mechanics:
https://blenderartists.org/t/python-calculate-physical-bullet-hitpoint-needed-force/1531581/7?u=musikai
docs:
https://physics.stackexchange.com/questions/27992/solving-for-initial-velocity-required-to-launch-a-projectile-to-a-given-destinat?rq=1
https://forum.unity.com/threads/how-to-calculate-force-needed-to-jump-towards-target-point.372288/