Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

MindOfCorruption97

Member Since 28 Oct 2012
Offline Last Active Today, 09:47 AM
-----

#5069172 Collision Detection

Posted by MindOfCorruption97 on 12 June 2013 - 11:16 AM

I made a bounding box class if you want.

Just create a bounding box for the ball and the paddle and just check if they collide.

Here are the files:

http://www.mediafire.com/download/9pguyvnjdcucwpg/tools.h

http://www.mediafire.com/download/0csbj0c6cbljyka/tools.cpp

This only fixes the collision problem(hopefully). The bouncing problem I don't know how to fix...




PARTNERS