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) 🔗
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.