B2CREATECIRCLESHAPE

This command will create a circle shape with the specified radius.  This shape only exists to be added onto a body template, it cannot interact with bodies or other shapes.

The command returns an integer handle for the created shape.  You must store this value or you cannot add the shape onto any templates.

 

Syntax

Return as Integer = b2CreateCircleShape(Radius as Float)

Related Information

BOX2D Commands Menu
Index