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]
    struct RigidBody2D
    @nogc nothrow @property
    double
    linearDamp
    ()
  2. double linearDamp [@property setter]

Meta