Warnings
The size of the path must not exceed the size of corridor's path buffer set during init().
Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h |
Include |
#include "DetourCrowd/DetourPathCorridor.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp |
Loads a new path and target into the corridor.
The current corridor position is expected to be within the first polygon in the path. The target is expected to be in the last polygon.
The size of the path must not exceed the size of corridor's path buffer set during init().
Parameter |
Description |
---|---|
target |
The target location within the last polygon of the path. [(x, y, z)] |
path |
The path corridor. [(polyRef) * npolys] |
npath |
The number of polygons in the path. |