Discuss Scratch

JamYJPS
Scratcher
3 posts

How do i make a ball bounce correctly

If i use the
if on edge, bounce
block it will just bounce in the direction it came i want it to bounce like this

Wei-ern_520
Scratcher
500+ posts

How do i make a ball bounce correctly

JamYJPS wrote:

If i use the
if on edge, bounce
block it will just bounce in the direction it came i want it to bounce like this

Uh, try this:
turn cw ((direction) + (90)) degrees
deck26
Scratcher
1000+ posts

How do i make a ball bounce correctly

https://scratch.mit.edu/projects/99412537

For a vertical surface the bounce direction is just -1 * the approach direction.
Scratchgaming2newacc
Scratcher
100+ posts

How do i make a ball bounce correctly

You can also do this
Repeat 5
Turn pick random 10 to 90 + 4 degrees
JamYJPS
Scratcher
3 posts

How do i make a ball bounce correctly

deck26 wrote:

https://scratch.mit.edu/projects/99412537

For a vertical surface the bounce direction is just -1 * the approach direction.
Thank you

Powered by DjangoBB