Skip to content

Path3D

Inherits: Entity3D < Entity < Object

Contains a Curve3D path for PathFollow3D nodes to follow.

Can have PathFollow3D child nodes moving along the Curve3D. See PathFollow3D for more information on the usage.

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

Type Name Default
Curve3D curve
Color debug_custom_color Color(0, 0, 0, 1)

curve_changed

curve_changed()

Emitted when the curve changes.

debug_color_changed

debug_color_changed()

Emitted when the debug_custom_color changes.

curve

Curve3D curve

A Curve3D describing the path.

debug_custom_color

Color debug_custom_color = Color(0, 0, 0, 1)

The custom color used to draw the path in the editor. If set to Color.BLACK (as by default), the color set in ProjectSettings.debug/shapes/paths/geometry_color is used.