Skip to main content
GameDev.net gamedev.net
🔒 Locked

Collision Detection

Started by Bluseed Jun 30, 2006 at 7:38 PM 2 replies 850+ views
Original Post
Bluseed
Bluseed
Ive been looking around in a lot of places and still cannot find any code for collsision detection. I have a pong game, i want the ball to bounce off the paddle, can someone please point me in the right direction???
Figgles
Figgles
Are we talking 2D or 3D pong?
Cornstalks
Cornstalks
Just a heads up, most people don't really like it when some one cross-posts Click Here.

But as for your question:
Place 1
Place 2

Place 2 deals with sphere and plane collision, which is pretty much what your talking about when you have a ping pong ball and a paddle (if its 3D, if its not, then collision detection is even simpler)
Bluseed
Bluseed
thx a lot! just trying to get the right forum

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.