Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public Vector2 gravity { readonly get; set; }