Table of Contents

Class SegmentShape2D

A 2D line segment shape used for physics collision.

Inheritance
SegmentShape2D

Remarks

A 2D line segment shape, intended for use in physics. Usually used to provide a shape for a CollisionShape2D.

Properties

a

The segment's first point position.

var a : Vector2 = Vector2(0, 0)

Property Value

Vector2

Remarks

b

The segment's second point position.

var b : Vector2 = Vector2(0, 10)

Property Value

Vector2

Remarks