There is no Use Gravity property in Rigidbody2D

unity-game-engine

Solution

A RigidBody2D has a gravityScale. It is this gravity scale with which you can adjust how much effect gravity has on the particular object. Setting it to 0 would have the same effect as turning off gravity for a RigidBody.

Problem

There is no Use Gravity property in Rigidbody2D. How can I handle gravity in 2D?

Original source