Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Collision detection question

This topic is 6895 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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......

Share this post

Link to post
Share on other sites
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?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!