Original Post
I am trying to build game which requires simulating simultaneous (elastic)collision of several bodies. (I have the code for elastic collision between two bodies) This is the method I came up with: for each body { 1. form a single body which is equivalent to all other bodies 2. simulate collision of these two bodies } Is this the right way, or are there any other methods? There are two ways to accomplish the first step: a. Add the individual masses and velocities, or b. Form the mass and velocity of the combined body such that the momentum and velocity of the system is conserved. Again which is correct?