I am trying to get it to when the ball collides with the paddle it will bounce in the direction the paddle is going instead of just straight up.
Example: if the paddle is moving to the left when the ball hits it it sends the ball back up and to the left and if the paddle is moving right when the ball hits it the ball moves up and to the right and if the paddle is not moving when the ball hots it the ball goes straight up.
So from what I have seen the paddle given to us being used allows for this to happen only because the paddle has angled sides. I am using a different paddle I made which is the typical rectangular paddles you usually find with games like these. How do I add the friction to happen to send the in the direction it should go when it hits the paddle?
Thanks,