Attention
You are reading the latest
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
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¶
Property Descriptions¶
Curve2D curve
A Curve2D describing the path.