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?