Box2D_Constants - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

This article is an overview of physics related constants and variables for the Box2D physics extension.

Shape Constants

Constant Description
b2d_box Box shape with width and height.
b2d_circle Circle shape defined by radius.
b2d_edge Edge shape, can be combined to create chains and loops.
b2d_chain Chain shape defined by vertices and compromised of a series of edges.
b2d_loop Loop shape defined by vertices and compromised of a series of edges.
b2d_polygon Polygon shape defined by convex vertices in a clockwise order.