Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You take the point of the first touch, you mark the current game time. Then you check when this touch has disappeared, you look at the time difference. Also consider the distance between them. Using distance and time, you can calculate the impact force, you can choose your own formula, for example, speed depends more on distance or vice versa, the less time has passed, the stronger, but both are better. Also, knowing two points, you can easily find the impact vector.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question