Interface for path finding API.
More...
#include <DetourNavigationBus.h>
Inherits AZ::ComponentBus.
Interface for path finding API.
◆ FindPathBetweenEntities()
virtual AZStd::vector< AZ::Vector3 > RecastNavigation::DetourNavigationRequests::FindPathBetweenEntities |
( |
AZ::EntityId |
fromEntity, |
|
|
AZ::EntityId |
toEntity |
|
) |
| |
|
pure virtual |
Blocking call that finds a walkable path between two entities.
- Parameters
-
fromEntity | The starting point of the path from the position of this entity. |
toEntity | The end point of the path is at the position of this entity. |
- Returns
- If a path is found, returns a vector of waypoints. An empty vector is returned if a path was not found.
◆ FindPathBetweenPositions()
virtual AZStd::vector< AZ::Vector3 > RecastNavigation::DetourNavigationRequests::FindPathBetweenPositions |
( |
const AZ::Vector3 & |
fromWorldPosition, |
|
|
const AZ::Vector3 & |
toWorldPosition |
|
) |
| |
|
pure virtual |
Blocking call that finds a walkable path between two world positions.
- Parameters
-
fromWorldPosition | The starting point of the path. |
toWorldPosition | The end point of the path to find. |
- Returns
- If a path is found, returns a vector of waypoints. An empty vector is returned if a path was not found.
◆ GetNavigationMeshEntity()
virtual AZ::EntityId RecastNavigation::DetourNavigationRequests::GetNavigationMeshEntity |
( |
| ) |
const |
|
pure virtual |
An entity with a navigation mesh is required to calculate paths.
- Returns
- the associated entity with @RecastNavigationMeshComponent
◆ SetNavigationMeshEntity()
virtual void RecastNavigation::DetourNavigationRequests::SetNavigationMeshEntity |
( |
AZ::EntityId |
navMeshEntity | ) |
|
|
pure virtual |
An entity with a navigation mesh is required to calculate paths.
- Parameters
-
navMeshEntity | an entity with @RecastNavigationMeshComponent |
The documentation for this class was generated from the following file:
- Gems/RecastNavigation/Code/Include/RecastNavigation/DetourNavigationBus.h