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

Method FindRandomPoint

Source/Engine/Navigation/Navigation.cpp:366–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366bool Navigation::FindRandomPoint(Vector3& result)
367{
368 if (NavMeshes.IsEmpty())
369 return false;
370 return NavMeshes.First()->FindRandomPoint(result);
371}
372
373bool Navigation::FindRandomPointAroundCircle(const Vector3& center, float radius, Vector3& result)
374{

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.45
FirstMethod · 0.45

Tested by

no test coverage detected