Wednesday, February 1, 2012

Strange Behavior Fixed

I found that by remembering the ball's last position and moving it back after a collision and making sure I only change the ball's direction once that now the ball bounces as expected, no more u-turns or strange behavior. I also ignore the ball hitting the back of the paddle so no more getting stuck.

No comments:

Post a Comment