Why it behaves this way
Explanation
A collision is a short interaction, but it does not erase the momentum story. If the two-cart system is isolated, then the total momentum before contact must match the total momentum after contact even when the individual cart velocities change abruptly.
This module keeps the setup bounded and honest with two carts on one fixed track, one contact point, and one elasticity control. You can change the masses and incoming speeds, then compare an elastic rebound with a more inelastic outcome without turning the page into a giant sandbox.