Right now I'm simply inverting the X velocity of my pong ball whenever it comes into contact with either of the paddles. This is problematic because when it hits the top part of the paddle, the ball goes inside of the paddle and spazes out.
I've tried several methods to see which direction the ball hit the paddle at, but every single one comes up dry.
(my various attempts can be found here).
none of them worked at all (even the last one that has the words success by it).
Does anyone have a suggestion to remedy the problem I'm having? I'm not very good at maths (which is evident by those pictures) and some of the methods I've found online seem needlessly complex.
EDIT: NVM, I found a much much simpler solution.
This post has been edited by mastersmith98: 23 December 2008 - 12:51 PM