javascript – Total energy transfer between two identical objects

I'm trying to simulate a game like billiards / shuffleboard / curling where two objects meet and where, under a perfect direct hit, all the energy is transferred to the second object. Both matière.js and p2.js to create a world where the expected gravity is on the Y axis. By setting the gravity to 0 and the friction in the air to a high level, I can get a pretty good simulation of the flying view of the plane. ;bird. However, when two identical objects collide at low speed, they continue to move forward.

I kept playing with mass, restitution, slop, etc. I can not simulate a situation in which one object stops and the other starts to move (low speed). Any notice would be greatly appreciated!