Find Node under Agent on Grid Graph


#1

How do I access the current grid node coordinates that an agent is on top of? I’m using a Grid Graph.


#2

Hi

You can use the GetNearest method.

See https://arongranberg.com/astar/docs/astarpath.html#GetNearest2