viscousDrag

fun <A : AgentLike> viscousDrag(coefficient: Double): Force<A>(source)

Viscous drag opposing the current velocity: F = -coefficient * velocity. Useful for damping out runaway oscillations or modeling fluid resistance.