B2GETBODYLINEARVELOCITYX

This command will return the velocity of the specified body along the X-axis.  The parameter should be the unique integer handle that was returned when the body was created.

 

Syntax

Return as Float = b2GetBodyLinearVelocityX(ID as Integer)

Related Information

BOX2D Commands Menu
Index