Thursday, May 7, 2009

Paddle Physics: To be added to design doc or final report?

Hey guys, I think our implementation of paddle physics should go to design doc. Here it is.

Explanation: Our paddle is divided into three virtual parts. They are the edge, somewhat middle, and almost middle. The reflection angle of the ball depends on where in the paddle the ball hit. If the ball hit at edge then the reflected angle is greater than incident angle, If the ball hit at somewhat middle then the reflected angle is equal to incident angle, if it hit almost middle then the reflected angle is smaller than the incident angle. The speed of the ball also increase/ decrees along with the angle. Note that the entire paddle has 35% edge 50% somewhat middle and 15% almost middle region.

No comments:

Post a Comment