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¶
|
||
|
Property Descriptions¶
Vector2 a
Default |
|
Setter |
set_a(value) |
Getter |
get_a() |
The segment's first point position.
Vector2 b
Default |
|
Setter |
set_b(value) |
Getter |
get_b() |
The segment's second point position.