Support Forum

Teleporting Agents

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)

ezgif-3-ef2283d43d

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?

Activating “Full Get Nearest Node Search” fixed the issue for me. But I’m not sure if this is the best way.

1 Like

So another issue came up connected to this. When “Full Get Nearest Node Search” is on the agents behave weirdly when going downstairs.

ezgif-2-84d4ca7703

Seems like they go one axis after the other. Walking upstairs is fine though.

Hi

Is there a a reason you are not using a single grid graph?

Im using the point graph to have one way connections.
The agents should enter the building only through the entrance and only leave through the exit.

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.

Hi Aron,

do you have any update regarding this? We still have some teleporting issues.

Kind regards,

Niko

Any news regarding this ?