Function RigidBody2D.friction

The body's friction. Values range from 0 (frictionless) to 1 (maximum friction). Deprecated, use PhysicsMaterial.friction instead via physicsMaterialOverride.

double friction() nothrow @property @nogc;

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