• Post Reply Bookmark Topic Watch Topic
  • New Topic

Collision Detection Issues  RSS feed

 
Steven Herther
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Okay so basically my problem is with colliding objects with a ball, I'm pretty sure it's to do with my ordering in the flow of execution, although I'm sure I'll be quickly corrected as my assumption seems off. Basically, I'm adding a ball to a board and having it collide off the 4 walls of the game board (which it does) and also collide with the top line of an 'absorber' to basically stop the ball and end the game(which it does) however, when I add in square collision/circle collision it doesn't work until I comment out the code that calculates collision with the walls. I'm quite confused by this and was hoping someone could point me in the right direction to fixing this issue. Here is the code:

Any help at all will be massively appreciated.

Kind regards.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!