Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

SegmentShape2D

0 0 vote
Article Rating

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.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x