The idea is:
When the pad hits the ball, a center angle on the pad checks how far it is from the center. The further up or down causes an increase of the ball's velocity. When the ball is closer to the center, the ball's velocity decreases.
The only problem I'm having is how to code it. Is this a good way of doing this, or is there a better way to calculate the ball's new velocity?