how can I calculate the point where the ball bounces to change direction? found this formula but how can I put it into practice? (ball.x-paddle.x)/paddle.width;