RigidBody.gravityScale

This is multiplied by the global 3D gravity setting found in Project > Project Settings > Physics > 3d to produce RigidBody's gravity. For example, a value of 1 will be normal gravity, 2 will apply double gravity, and 0.5 will apply half gravity to this object.

  1. double gravityScale [@property getter]
    struct RigidBody
    @nogc nothrow @property
    double
    gravityScale
    ()
  2. double gravityScale [@property setter]

Meta