Thread
:
2d Pong HELP!!
View Single Post
Feb 28th, 2008, 7:16 AM
#
4
colin mac
Newbie
Join Date: Nov 2007
Location: Ireland
Posts: 21
Rep Power:
0
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
View Public Profile
Find More Posts by colin mac