Find the point on navmesh closest to some FVector (not on navmesh)?
I'm building a world where AI controlled characters navigate to various locations, usually another Actor, and I ran into the issue where the goal Actor's location is occasionally not on the NavMesh. This is affecting my call to UNavigationSystem::SimpleMoveToActor() and UNavigationSystem::SimpleMoveToLocation().
How can I calculate a new FVector, one located on the navmesh which I can supply to SimpleMoveToLocation, so that my characters can move to the closest navigable point?
You can manipulate with Extent argument to find point of navmesh in proximity of your target location.
answered Nov 27 '14 at 11:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here