Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Soccer ball physics
- electricpeach4
-
100+ posts
Soccer ball physics
I spent 12 hours trying to find a good soccer ball physics engine on scratch. But none of them had decent physics. So could anyone help me find/create a good physics engine for a soccer ball? And just to clarify, the soccer ball I want/need responds to the touching of the player sprites and moves depending on the velocity of the player sprite.
thx
—————————————————————————————————————————————————————————————————————————–
thx

—————————————————————————————————————————————————————————————————————————–
Last edited by electricpeach4 (Sept. 5, 2015 01:18:04)
- daemys
-
100+ posts
Soccer ball physics
Soccer ball physics model is the same as any object's having horizontal velocity component in gravity field. The ball sprite behaviour on screen depends on point of view. Would it be a side view to the arena? Look here: https://scratch.mit.edu/projects/72822054/ or here https://scratch.mit.edu/projects/73288544/ . If you plan a top view look here https://scratch.mit.edu/projects/72909568/ or here https://scratch.mit.edu/projects/72547490/ it's not that easy to understand but there is an example of sprite interaction. And you want true real physics you can look here: https://scratch.mit.edu/projects/74732770/
- Discussion Forums
- » Help with Scripts
-
» Soccer ball physics