Make NavMesh aware of teleporters
I'm working on adding teleporters to my game right now and am having trouble getting the AI to actually use them. I first tried using a NavLinkProxy but those only work between adjacent tiles on the nav mesh while my teleporters might span all the way across the map. I found something saying I can just change my tile size but we also allow the nav mesh to change dynamically at runtime so that's too slow to be viable.
Is it possible to make a custom NavLink or something that just has the nav mesh send actors to one point and I handle getting them to the other point?
asked Mar 01 '17 at 11:38 PM in Using UE4
The way I'd handle that is by adding a high-level navigation graph that would know about teleporters, and use UE4 AI metapaths. It's something we're using both in Paragon and Fortnite, so most of the kinks have been ironed out. You 'just' have to build the graph ;)
Come to think of that I could generalize the graph we have in Paragon and move it to AIModule or something like AINavPlugin. Don't hold your breath, though, it can take some time with current workload ;)
answered Mar 02 '17 at 10:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here