Function RigidBody2D.linearDamp

Damps the body's linearVelocity. If -1, the body will use the Default Linear Damp in Project > Project Settings > Physics > 2d.

double linearDamp() nothrow @property @nogc;

void linearDamp (
  double v
) nothrow @property @nogc;