Node tags with moving enemies

Hi!

I’m fairly new to using your pathfinding system, and I have been having issues with getting node tags to update. I have an update graph scene component attached to an enemy that moves around the map randomly. Every second, the graph updates. Now, what I was hoping would happen is the node tags around the enemy in his boundary box would change tags to the enemy tag. However, the tags do not appear to change, at least not according to the map debug. I’m not sure if this is something to do with layers or not, and if so what I would have to change. Any insight would be appreciated!

Hi

You say that every second the graph updates. Are you calling the GraphUpdateSceen.Apply method or doing something else?

Note that even if you set the tags to some value, you will still have to revert the old tags if the enemy moves.
You could take a look at the DynamicGridObstacle script and modify that to use tags.