Please tell me!
How to organize a kick on the ball, while choosing the direction and magnitude of the impact force in advance?
There isn’t a does-all recipe for this.
You’ll need to understand the following to do this:
- 2D Vector Math - Libraries exist to simplify the calculations in SSK (https://roaminggamer.github.io/RGDocs/pages/SSK2/)
- Touch Events - https://docs.coronalabs.com/api/event/touch/index.html
- Physics - https://docs.coronalabs.com/api/library/physics/index.html
- Basic Image Rendering - https://docs.coronalabs.com/api/library/display/newImageRect.html