This command will set the gravity values in the specified world. A positive value for GravX will pull objects to the right of the screen, a negative value will pull them left. A positive value for GravY will pull objects downwards, a negative value will pull them up. The ID should be the special integer handle that was returned when the world was created.
Syntax
b2SetWorldGravity ID as Integer, GravX as Float, GravY as
Float