B2DELETEBODY

This command will delete the specified body from the specified world.  The ID should be the integer handle of the world the body is in.  The BodyID should be the integer handle of the body to be deleted.

 

Syntax

b2CreateBody ID as Integer, BodyID as Integer

Related Information

BOX2D Commands Menu
Index