RigidBody2D.linearDamp

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

  1. double linearDamp [@property getter]
  2. double linearDamp [@property setter]
    struct RigidBody2D
    @nogc nothrow @property
    void
    linearDamp
    (
    double v
    )

Meta