Hi! I want to get edges or points of navmesh. I need a start and an end of navmesh. How can I to do it?
[Is this link useful][1]?
[And second link?][2]
Hi! I want to get edges or points of navmesh. I need a start and an end of navmesh. How can I to do it?
[Is this link useful][1]?
[And second link?][2]
I found solution.
I use function FindDistanceToWall.
const UNavigationSystemV1* NavSys = FNavigationSystem::GetCurrent<UNavigationSystemV1>(this);
const ARecastNavMesh* NavMesh = Cast<ARecastNavMesh>(&NavSys->GetMainNavDataChecked());
const float DistWall = NavMesh->FindDistanceToWall(NavLocation);