Hi,
If I have 100s agents, some of which we allow to traverse any links, and some which do not, then each time I set the destination for the those that should not use navmesh links, I have to hide all the relevant links each time.
I am setting destination and using desired velocity to move.
The problem with the above approach is for each agent, I have to hide or unhide a whole lot of navmesh links each time we set the .destination. I set .destination a few times per frame (on different actors), when I could maybe just tell it to path without factoring in links with a bool such as .useLinks or something like that.
I don’t mind hiding and unhiding but what about auto re-path, etc? Wondered if there’s something cleaner to be doing (I am probably doing it all wrong).
My use case is some enemies have the ability to drop down from height and some do not desire this behaviour.
Would like to know recommended practises in this case, thank you!