Hi
I have a ground mesh with some path, and I have the player. I want to know which polygon the player is on at that moment.
I do not want to use some kind of abstract grid method because not all my meshes will have grid like structure in the levels.
I am mainly trying to get the polygon index, and the location of that particular polygon.
I know that I need to go through the polygons and see if that polygon location matches the player coords, I just was not able to figure it out in the context of GDscript.