- Edited
i there, the problem is maybe that i understand something wrong with this. I try to get any used tile in a gridmap via get_meshes() like this:
func getTiles(gridmap:GridMap):
for tile in gridmap.get_meshes():
print(tile)
how can i access the vector3 of the tile. Have tried a lot like: tile.get_translated(), tile.basis, tile.origin and even tile[1]. The try to reach it via tile[1] is cause of the description about get_meshes() -> returns an array. The print(tile) returns: <PlaneMesh#-9223372009474358913>
[X: (1, 0, 0), Y: (0, 1, 0), Z: (0, 0, 1), O: (-13, 0, 25)]
What is my misconception? Thanks for any help.