Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Rolling ball Gravity code
- mr-dash332
-
21 posts
Rolling ball Gravity code
So basically I have a ball character that I want realistic gravity on him. For example he'll bounce off a wall if going a certain speed and will go down a slop. How would I code this gravity.
- Kqax
-
37 posts
Rolling ball Gravity code
Ball physics are complex; it is really difficult to do. If you don't have much math and coding knowledge, you can't really do it. So basically I have a ball character that I want realistic gravity on him. For example he'll bounce off a wall if going a certain speed and will go down a slop. How would I code this gravity.
- Kqax
-
37 posts
Rolling ball Gravity code
Example of ball physics being used: So basically I have a ball character that I want realistic gravity on him. For example he'll bounce off a wall if going a certain speed and will go down a slop. How would I code this gravity.Ball Physics Scroll v0.4
Last edited by Kqax (March 2, 2024 03:23:31)
- Discussion Forums
- » Help with Scripts
-
» Rolling ball Gravity code