gravity
Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 gravity { get; set; }