Bouncing physics!!!!

BlitzPlus Forums/BlitzPlus Programming/Bouncing physics!!!!

Regular K(Posted 2005) [#1]
Im trying to make a simple pong game but Ive alway gotten stuck on the physics of making the ball bounce in a realistic fashion and not get stuck in the walls!

Can anyone help me? Please :)

Ive looked on wikipedia for some help under deflection (bounce) but it gave me some math I didnt understand :S

Thanks

(sorry for the exclamation marks i nthe title)


Regular K(Posted 2005) [#2]
I figured it out :)

Dir=360-Dir I believe is correct.