Before moving the ball, check if the distance between old and new ball's position is bigger then thickness of the paddle.Originally Posted by seiferalmasy
If no, do standard collision detection.
if yes, divide distance in offsets smaller then paddle's thicknes. Check collison for first offset. If there is no collision then add offset to ball's position and check with second offset and so on.
Bookmarks