Category: 2D Game Physics (Pro)
SetPhysicsGravity(world As Integer, x As Double, y As Double)
Void
Changes the constant acceleration applied to every dynamic body in a physics world.
Existing velocities are preserved. Positive Y accelerates bodies downward.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
SetPhysicsGravity world, 0, 600