SegmentShape2D

Inherits: Shape2D < Resource < Reference < Object

Category: Core

Brief Description

Segment shape for 2D collisions.

Member Variables

  • Vector2 a - The segment’s first point position.
  • Vector2 b - The segment’s second point position.

Description

Segment shape for 2D collisions. Consists of two points, a and b.