Rectangle shape for 2D collisions.
Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects.
Return the half extents, the actual width and height of this shape is twice the half extents.
Set the half extents, the actual width and height of this shape is twice the half extents.
- The rectangle's half extents. The width and height of this shape is twice the half extents.