Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Path2D
繼承: Node2D < CanvasItem < Node < Object
包含一個 Curve2D 路徑,供 PathFollow2D 節點遵循。
說明
可以讓 PathFollow2D 子節點沿著 Curve2D 移動。有關用法的更多資訊,請參閱 PathFollow2D。
注意:該路徑被認為是相對於移動的節點(PathFollow2D 的子節點)。因此,曲線通常以零向量((0,0))開始。
屬性
屬性說明
描述路徑的 Curve2D。