updateGravity

Updates gravity and enqueues the change for the runtime.

Equivalent to calling setWorldGravity.


Updates gravity and enqueues the change for the runtime.

Equivalent to calling setWorldGravity(PhysicsVector2(x, y)).