Path2D

Inherits: Node2D < CanvasItem < Node < Object

Contains a Curve2D path for PathFollow2D nodes to follow.

Description

Can have PathFollow2D child nodes moving along the Curve2D. See PathFollow2D for more information on usage.

Note: The path is considered as relative to the moved nodes (children of PathFollow2D). As such, the curve should usually start with a zero vector ((0, 0)).

Properties

Curve2DCurve 
Colorself_modulateO: Color( 0.5, 0.6, 1, 0.7 )

Property Descriptions

Setterset_curve(value)
Getterget_curve()

A Curve2D describing the path.

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.