domsson / cong

Pong clone in C++ with SFML - an exercise to learn C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ball physics fail at high velocity

domsson opened this issue · comments

The higher the ball's velocity, the more erroneous the collision detection. First the ball will bounce off the paddles without actually making contact. Once the velocity is very high, the ball will eventually travel through the paddles. This is due to the fact that the collision detection is too simple.