RigidBody2D.weight

The body's weight based on its mass and the Default Gravity value in Project > Project Settings > Physics > 2d.

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

Meta