Bouncing off walls template?
Hi everyone, I need help finding a template showing a ball bouncing off any surface at a constant speed around the screen. I need the template which shows the change in x/y velocity so that the ball bounces off in the opposite angle to the incident angle.
Im quite sure the template "Infinite bouncing balls with constant speed" has what i need but i think it has been deleted from the arcade.
It's not easy to explain, so if you don't understand what I mean I'll try to explain it again.
Thanks,
Giacomo
Im quite sure the template "Infinite bouncing balls with constant speed" has what i need but i think it has been deleted from the arcade.
It's not easy to explain, so if you don't understand what I mean I'll try to explain it again.
Thanks,
Giacomo
Best Answer
-
MarkOnTheIron Posts: 1,447
I made this a while ago. It also have a system for perfectly calculate the bounce from round objects, but that last part is still a little buggy.
https://dl.dropbox.com/u/8244920/Bouncing.zip
Answers
http://forums.gamesalad.com/discussion/35823/perfect-bounce-from-round-objects-the-math-is-killing-me-help