I thought up of a strange conundrum. Suppose we have two boxes of equal size and mass moving at equal speeds but opposite directions at each other (in the given inertial reference frame) in space. They have flat surfaces and when they meet each other, they graze each others' surface. See the illustration below.
As you can tell, the kinetic friction will take place as the surfaces graze each other and slow the two boxes down. We can imagine they slow down to a stop, as depicted in the image.
- Energy is conserved: we know friction converts kinetic energy into thermal energy, causing heat, so there is no problem with energy conservation.
- Momentum is conserved: the friction forces always come in equal but opposite pairs, and in our scenario we have $p = mv + m(-v) = 0$ before grazing and $p=0$ after grazing.
However, if we take the reference point / origin exactly at the midpoint between their center of masses, then before the contact we have
$$ \vec{L} = (-x\hat{x} + r\hat{y})\times (mv\hat{x}) + (x\hat{x} - r\hat{y})\times (-mv\hat{x}) = -2mv\hat{z} $$
and after contact we have
$$ \vec{L} = 0. $$
This quantity clearly changes, unlike with momentum, and there is nothing it can be converted to, unlike with energy. I don't think friction violates angular momentum conservation, so what is the mistake I have committed and what is the correct way to analyze the scenario?