Rectangle shape for 2D collisions. Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects. $DOCS_URL/07_demo_projects/2d/pong $DOCS_URL/07_demo_projects/2d/kinematic_character The rectangle's half extents. The width and height of this shape is twice the half extents.