PathfindingError - Nav3D Doc

Docy Child

PathfindingError

Содержит сведения об ошибке в случае срабатывания _OnFail колбэка.

Свойства:

  • public PathfindingResultCode Reason причина неудачи поиска пути
    Возможные значения свойства:
ValueОписание
SUCCEEDEDПоиск пути завершился успешно.
PATH_DOES_NOT_EXISTМежду точками не существует пути. Это возможно если хотя бы одна из точек окружена препятствиями со всех сторон.
TIMEOUTПоиск пути занял больше времени чем разрешено и был прерван.
CANCELEDПоиск пути был завершен по указанию пользователя, или по внутренней логике Nav3D.
START_POINT_INSIDE_OBSTACLEПоиск пути не удался, потому что начальная точка пути находится внутри препятствия
GOAL_POINT_INSIDE_OBSTACLEПоиск пути не удался, потому что конечная точка пути находится внутри препятствия.
UNKNOWNВнутренняя ошибка.
  • public string Msg сообщение с более подробной информацией об ошибке.

Nav3DSphereShell

Represents a spherical shell that is perceived by other agents as an object to a...

Nav3DEvader

There is also a separate controller, whose behavior consists of just avoiding ne...

Nav3DAgentManager

This class implements several methods to get a list of all Nav3DAgents located i...

Nav3DPathTester

We implemented a useful component (Nav3DPathTester), which can be used while bui...

PathfindingResult

Contains the pathfinding data and time statistics. Time statistics: public TimeS...

Nav3DPath: События

For the convenience of notification when the pathfinding finished, the following...

Лог агента

Here you can copy the contents of the agent log to the clipboard by clicking the...

Debug drawing

In this section, you can visualize the agent and his nearest environment. This s...

Создание и настройка описания агента из кода

All Nav3DAgentDescription parameters configured in the description inspector c...

Nav3DManager

Nav3DManager is a helper static class. Can be useful for checking whether Nav3D ...

Nav3DInitializer

To use Nav3D in playmode, you need to initialize it. The Nav3DInitializer compon...

Nav3DObstacleLoader

To use the possibility of pre-baking obstacles on the scene in editor mode and t...

Chat Icon Close Icon
ru_RURussian