Thread: 2d Pong HELP!!
View Single Post
Old Feb 28th, 2008, 7:16 AM   #4
colin mac
Newbie
 
Join Date: Nov 2007
Location: Ireland
Posts: 21
Rep Power: 0 colin mac is on a distinguished road
Re: 2d Pong HELP!!

Possibly by using the distance formula. If the distance between the paddle and ball is less than such a number, you've got a collision. But I guess it depends on the coordinate system you're using.
http://www.purplemath.com/modules/distform.htm
colin mac is offline   Reply With Quote