Pong Game- Preventing the Ball from Continuously Bouncing Between Borders/Walls.

Hello!

I have created a Pong game and it works really well, but sometimes the Ball actor will get stuck and continuously move up and down. Neither of the two Paddles are able to hit the Ball to keep playing. The Ball just keeps bouncing vertically between the two Walls.

What can I do to prevent this from happening?

Thanks for any help in advance! :)

Comments

Sign In or Register to comment.