SegmentShape2D

Inherits: Shape2D < Resource < Reference < Object

Segment shape for 2D collisions.

Description

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

Properties

Vector2

a

Vector2( 0, 0 )

Vector2

b

Vector2( 0, 10 )


Property Descriptions

Vector2 a = Vector2( 0, 0 )

The segment's first point position.


Vector2 b = Vector2( 0, 10 )

The segment's second point position.