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

Method FindClosestPoint

Source/Engine/Navigation/Navigation.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359bool Navigation::FindClosestPoint(const Vector3& point, Vector3& result)
360{
361 if (NavMeshes.IsEmpty())
362 return false;
363 return NavMeshes.First()->FindClosestPoint(point, result);
364}
365
366bool Navigation::FindRandomPoint(Vector3& result)
367{

Callers 1

UpdateMethod · 0.45

Calls 2

IsEmptyMethod · 0.45
FirstMethod · 0.45

Tested by

no test coverage detected