Jump to content

  • Log In with Google      Sign In   
  • Create Account

Collision detection question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 drstrangeluv   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 10:41 PM

I'm stumped as to how to handle the following scenario and, more generally, the issue of what to do when handling possible collisions for multiple objects. Let's say I have an arena with 3 balls in it and they are all moving. Now let's suppose ball A and ball B hit each other. While I know what to do when ball A and ball B hit each other, what I'm stuck on is how to handle what happens if the collision between A and B now results in a collision between A and C or B and C. Should I just check again for collisions after detecting and resolving a single collision, or is there some more efficient method of doing this?

Sponsor:

#2 CJ   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 10:41 PM

Yes, you should keep testing for collission. Your problem has probaby been solved yet, since it is normal to check collission before drawing anything to the screen, which you probably have done yet

------------------
Dance with me......





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS