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

Method FindDistanceToWall

Source/Engine/Navigation/Navigation.cpp:338–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338bool Navigation::FindDistanceToWall(const Vector3& startPosition, NavMeshHit& hitInfo, float maxDistance)
339{
340 if (NavMeshes.IsEmpty())
341 return false;
342 return NavMeshes.First()->FindDistanceToWall(startPosition, hitInfo, maxDistance);
343}
344
345bool Navigation::FindPath(const Vector3& startPosition, const Vector3& endPosition, Array<Vector3, HeapAllocation>& resultPath)
346{

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.45
FirstMethod · 0.45

Tested by

no test coverage detected