You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it is easy to get the tiles using tileAt(coord: tileCoord) from the SKTilemap or SKTileLayer, there is no reverse method that gives me the coords for any given SKTile.
I would like to be able to get the coords from the SKTile itself.
(I could calculate them myself my using something like tilemap.coordinateForPoint(tile.position) but that seems complicated and may not be accurate depending on the parent node of the tile.)
thanks
The text was updated successfully, but these errors were encountered:
While it is easy to get the tiles using
tileAt(coord: tileCoord)
from theSKTilemap
orSKTileLayer
, there is no reverse method that gives me the coords for any givenSKTile
.I would like to be able to get the coords from the
SKTile
itself.(I could calculate them myself my using something like
tilemap.coordinateForPoint(tile.position)
but that seems complicated and may not be accurate depending on the parent node of the tile.)thanks
The text was updated successfully, but these errors were encountered: