I'm very new to Godot and... well, everything. I started with the 2d intro project and then started looking at the astar demo, and am now trying to expand this by using an isometric grid instead of the square one.
In AstarGrid2D it calculates the isometric grid for you and this seems to work well. I can use get_point_position(...) to convert a path into coordinates to have my player character move towards. This works well.
I want to extend this by having the player click the mouse, but I'm having trouble converting the mouse to the isometric coordinates. I tried using local_to_map(Vector2) but this uses the coordinates of the isometric TileMapLayer, but the TileMapLayer seems to use a completely different (and a little bit odd) system to number the tiles.
So when you use AstarGrid2D, what's the expected method to convert global coordinates to a particular cell?