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

Meta