How do you have a ball collide with a wall?

I'm making a golf game and have walls for the ball to bounce off of. how can i have the ball bounce realistically? My current Collision is:
image

1 Like

see the examples from Scott here https://groups.google.com/g/app-inventor-developers-library/search?q=bouncing%20ball
I did a search for bouncing ball

EDIT: and of course you always can do a search here in the community...
I found for example this thread for you

Taifun

there is a Bounce function for balls. you just need to judge where is the wall, on north or south or east or west of the ball.