RigidBody2D.linearDamp

Damps the body's linearVelocity. If -1, the body will use the Default Linear Damp in Project > Project Settings > Physics > 2d. See ProjectSettings.physics/2d/defaultLinearDamp for more details about damping.

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

Meta