Is there any way possible to predict the happening physics. Like, If i shoot a ball from the left side to a basket in the right side, it may or may not hit. So, I want to predict if it is going to hit the basket before it hits, so that i can create an animation to the basket. Or if it is going to miss, I want to create some missing animation.
Now I know that a easy way is to create a invisible sprite around the basket and when the ball collides the invisible sprite, start animation. But physics does not happens in the same speed, so i need to check if it can be done some other way??
Is this possible??