B2GETWORLDGRAVITYY

This command will return the force of gravity on the Y-axis in the specified world.  The parameter should be the unique integer handle that was returned when the world was created.

 

Syntax

Return as Float = b2GetWorldGravityY(ID as Integer)

Related Information

BOX2D Commands Menu
Index