MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FindPath

Method FindPath

Source/Engine/Navigation/Navigation.cpp:345–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345bool Navigation::FindPath(const Vector3& startPosition, const Vector3& endPosition, Array<Vector3, HeapAllocation>& resultPath)
346{
347 if (NavMeshes.IsEmpty())
348 return false;
349 return NavMeshes.First()->FindPath(startPosition, endPosition, resultPath);
350}
351
352bool Navigation::TestPath(const Vector3& startPosition, const Vector3& endPosition)
353{

Callers 1

UpdateMethod · 0.45

Calls 2

IsEmptyMethod · 0.45
FirstMethod · 0.45

Tested by

no test coverage detected