B2GETWORLDGRAVITYX

This command will return the force of gravity on the X-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 = b2GetWorldGravityX(ID as Integer)

Related Information

BOX2D Commands Menu
Index