RectangleShape2D

Inherits: Shape2D < Resource < Reference < Object

Category: Core

Brief Description

Rectangle shape for 2D collisions.

Member Variables

  • Vector2 extents - The rectangle’s half extents. The width and height of this shape is twice the half extents.

Description

Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects.