There is mathematical similarity between electrical system involving resistance, inductance and capacitance, and a mechanical system with a spring, damper and mass. The mechanical chattering or bounce of points, is independent of the capacitor. The capacitor, slows down the rate of voltage change, reducing the peak transients, and arcing.
In a mechanical system, the damper has similarity to a resistor, so not sure what the instructor had in mind.