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...
Path3D
包含 PathFollow3D 节点要跟随的的一条 Curve3D 路径。
描述
可以让 PathFollow3D 子节点沿着 Curve3D 移动。有关用法的更多信息见 PathFollow3D。
注意,该路径被认为是相对于移动的节点(PathFollow3D 的子节点)。因此,该曲线通常应以零向量 (0, 0, 0) 开始。
属性
|
信号
curve_changed() 🔗
当 curve 改变时触发。
debug_color_changed() 🔗
当 debug_custom_color 改变时触发。
属性说明
描述路径的 Curve3D。
Color debug_custom_color = Color(0, 0, 0, 1) 🔗
编辑器中用于绘制路径的自定义颜色。如果设置为 Color.BLACK(默认值),则使用 ProjectSettings.debug/shapes/paths/geometry_color 中设置的颜色。