Rectangle shape for 2D collisions.
This shape is useful for modeling box-like 2D objects.
The rectangle's half extents. The width and height of this shape is twice the half extents.
Construct a new instance of RectangleShape2D. Note: use memnew!RectangleShape2D instead.
See Implementation
Rectangle shape for 2D collisions.
This shape is useful for modeling box-like 2D objects.