Hi, I'm trying AStar2D width v3.4.beta4.mono.official [6a058cbf3] but I have an error ( opened issue already) and one question (for now):
How I can get a cell using GetUsedCellsById? Where is the ID located? Thanks
GetUsedCellsById
You should have given the cell ID when you created it. It's in add_point: void add_point ( int id, Vector2 position, float weight_scale=1.0 )
Its not clear to me. The map is already created. If I open it where I need to look to see where it ID is associated to a specific cell?
I haven't used tilemaps except in experimenting a little. If you know the cells x and y you can use:
int get_cell ( int x, int y ) const
Return the tile index of the referenced cell I would check if maybe it's labeled in the editor someplace.
I guess it's in the left corner when you hover: https://godotengine.org/qa/68061/is-possible-to-see-tile-id-inside-the-editor
Thank you, I've already found it by chance. I had an hunch and I used the number and it worked. But I see someone else asked same thing in Q&A. Still is nice when someone give an answer.
Thanks