When I change the tag of a node, do I have to update its connections?

hello, when I change the tag of a node, do I have to update its connections? here my example:

                var gg = AstarPath.active.data.gridGraph;                    
                prevListGraphNode = gg.GetNodesInRegion(guo.bounds);
                
                foreach (GraphNode vNode in prevListGraphNode)
                {
                        vNode.Tag = (uint)this.setTag;
                }

                //Do I have to update these connections if I have only changed the tag of the node?

               /*foreach (GraphNode vNode in prevListGraphNode)
                {                        
                    gg.CalculateConnections((GridNodeBase)vNode);
                }*/

Hi

No, the connections only need to be updated if the node’s walkability value has changed.

1 Like