W3cubDocs

/Godot 3.1

Path2D

Inherits: Node2D < CanvasItem < Node < Object

Category: Core

Brief Description

Contains a Curve2D path for PathFollow2D nodes to follow.

Properties

Curve2D curve

Description

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

Note that 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).

Property Descriptions

Curve2D curve

Setter set_curve(value)
Getter get_curve()

A Curve2D describing the path.

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_path2d.html