how to do something like this !

Well, its kinda simple, you need to learn a bit physics :wink:

Ask your teacher for the formluar of htrowing a ball or search it. Then, if you got the formular, you just create a script, making all the variables you need (like the guy in the video did), play a little with the values and use the formular. Thats all :wink:

You can take all formulas from the wiki ‘Trajectory of a projectile’. Ignore the lower part ‘Trajectory of a projectile with air resistance’.