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

Vector2aVector2( 0, 0 )
Vector2bVector2( 0, 10 )

Property Descriptions

DefaultVector2( 0, 0 )
Setterset_a(value)
Getterget_a()

The segment’s first point position.


DefaultVector2( 0, 10 )
Setterset_b(value)
Getterget_b()

The segment’s second point position.