Rebuilding navmesh on runtime in multiplayer
I'd like to rebuild navmash as AI moves around it in multiplayer environment (classic client-server). I wasn't able to find much info on this, but I managed to figure out some steps so this is what I have so far:
1) Check AI collider to be a dynamic obstacle, set it's area class to _null and set it to affect navigation
2) Allow generating navmesh on runtime
Unfortunately when I start my game the navmesh doesn't seem to update, the holes in it stay the same no matter where the AI moves. Does anyone know why could this be? Or how to resolve it? When tested in single player environment this works fine for me.
Thanks in advance
asked Feb 08 '19 at 03:46 PM in C++ Programming
Try the NavigationInvoker component on your player character. And enable this on your nav mesh bounds in the level And make sure these are your settings I use this for my open world project navigation.
answered Feb 09 '19 at 02:33 AM
When you say holes stay in it - you may have objects that are affecting the navigation and blocking it. If so, you need to identify the objects and change that setting.
answered Feb 09 '19 at 04:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here