Jump to content

  • Log In with Google      Sign In   
  • Create Account


MindOfCorruption97

Member Since 28 Oct 2012
Offline Last Active Jun 19 2013 01:57 PM
-----

#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