PathStatus
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
由 PathfindingService 生成的 Path 的成功。
项目
名称 | 值 | 概要 |
---|---|---|
Success | 0 | 路径找到成功。 |
ClosestNoPath | 1 | 路径不存在,返回到最近点的路径。 |
ClosestOutOfRange | 2 | 目标超出最大距离范围,返回到可以在最大距离内到达的最近点的路径。 |
FailStartNotEmpty | 3 | 无法计算路径;起点不为空。 |
FailFinishNotEmpty | 4 | 无法计算路径;终点不为空。 |
NoPath | 5 | 路径不存在。 |