Hey I have a problem with the Agents on my graph when constrain inside graph is active.
Im using the AIPath script with constrain inside graph activated. The graph consist of two GridGraphs connected with nodes from a PointGraph. In the video you can see the transition from one grid graph to the other with a link.(Where the agents teleport)
As seen in the video the agents teleport when moving outside of the grid graph. They seem to always teleport to the node of the point graph. I don’t understand why thats happening. How can I fix this behaviour?
I improved the behaviour with the staris by replacing the AIPath with AILerp as we don’t need physics anyway. But there is still some teleporting happening when Full Get Nearest Node Search is deactivated.
Sorry for the late reply, I’ve been sick these last few weeks.
I’m not quite sure why that is happening. Are your two grid graphs overlapping in space, or are they completely disjoint? If they are overlapping, the agents can get quite confused about which graph to use unless you force them to a specific graph using the seeker → traversable graphs setting.