B2XPOSITIONBODY

This command will position the specified body at the specified X location in 2D space.  The body's current Y position will remain the same.  The ID should be the integer handle of the body to be positioned.

 

Syntax

b2XPositionBody ID as Integer, X as Float

Related Information

BOX2D Commands Menu
Index