How multiple objects in contact are resolved in an inelastic collision, when edge normals don't "line up" In a case I understand, let's say I have an object A moving at velocity V toward 3 objects in contact B, C, and D:

The momentum of A is the mass of A times its velocity.  To figure out how the inelastic collision ends up when A hits B, I sum the masses of A, B, C, and D, and I divide the old momentum of A by the sum of those masses.  That is the velocity all 4 objects end up with.  Easy and extendable!
But when objects are in contact along edges with normals not parallel to the original momentum:

Such as here, with C mucking up the nice neat solution I had for the system above.  I know that when objects collide, they are pushed away along the normal of the edge of contact.  So D is going to move up and right at an angle, and presumably C and E need to get pushed downward to conserve momentum.  Further, I still have to deal with my momentum from A pushing things to the right.  I'm pretty sure D will be moving to the right slower than A, B, and C.  And E won't be moving to the right at all, assuming there's no friction.  Right?
What is the summed mass to use in the equation I used to solve my first problem?  Can I simplify this into equations dealing with the "branching off" of the "main path" (D branching off, and C + E branching off?)?  I need to understand this as a general case, not simply the solution to this one problem...  Any possible set of convex polygons in contact being hit.  How does this work?
I'm also wondering how to deal with this with partially elastic collisions... Seems like it'd get pretty crazy, especially with systems more complicated than my 2nd example.
 A: It is not clear in general how to model the inelastic character of the collisions of such bodies. For starter, let's assume the collisions are elastic.

To figure out how the inelastic collision ends up when A hits B, I sum the masses of A, B, C, and D, and I divide the old momentum of A by the sum of those masses. That is the velocity all 4 objects end up with.

That would work only if the objects A, B, C, D sticked together after the collision and moved as one body. If there is no sticking mechanism (billiard balls), you cannot treat the objects as one body. The same holds also for collisions that are not elastic.
Instead, you can imagine that the objects are initially slightly apart, so they touch only when they collide. Collision of rigid bodies will most often happen just at one time instant. You can determine how each body will move by calculating what happens at each collision.
To account for the inelasticity, you can model the bodies not as rigid, but as bodies with movable plane faces attained at equilibrium positions with respect to some smaller rigid core by spring-like forces, while the movement of these planes experiences friction force when they move. This already leads to some differential equations, but at least one should be able to avoid complicated finite-element computations.
