damping property Null safety

double damping
final

The damping coefficient (c).

Do not confuse the damping coefficient (c) with the damping ratio (ΞΆ). To create a SpringDescription with a damping ratio, use the SpringDescription.withDampingRatio constructor.

The units of the damping coefficient are M/T, where M is the mass unit used for the value of the mass property, and T is the time unit used for driving the SpringSimulation.

Implementation

final double damping;