/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h
All local mesh queries have distance limitations. (Review thedtNavMeshQuerymethods for details.) So the most accurate use case is to move the position and target in small increments. If a large increment is used, then the corridor may not be able to accurately find the new location. Because of this limiation, if a position is moved in a large increment, then compare the desired and resulting polygon references. If the two do not match, then path replanning may be needed. E.g. If you move the target, checkgetLastPoly()to see if it is the expected polygon.
class dtPathCorridor