How to predict the movement of the body when a force is applied on it like in the https://play.google.com/store/apps/details?id=com.game.basketballshoot
I have attached screen shot as reference.
How to predict the movement of the body when a force is applied on it like in the https://play.google.com/store/apps/details?id=com.game.basketballshoot
I have attached screen shot as reference.
The simplest way to find out how a physics-based sequence would turn out is to simulate it. Sample the positions as you go and draw indicators on suitably spaced places.
This works regardless of the model you're using, may it be an actual simulation or some simplified model like "follow this parabolic path".