gravity
A vector that specifies the gravitational acceleration applied to physics bodies in the physics world.
Declaration
var gravity: CGVector { get set }Discussion
The components of this property are measured in meters per second. The default value is (0.0,-9.8), which represent’s Earth’s gravity.