gravity
Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2. See PhysicsWorld.gravity.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public Vector2 gravity { readonly get; set; }