Unelastic bodies. Perfectly elastic bodies would develop no heat on collision. They would need only consider that.