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
It is possible to get the rotation of a tile?
I was not able to find this at the doc. The Map has a global Orientation, but I don't see an option to get the the Orientation per tile, how Tield does also support (see below).
The text was updated successfully, but these errors were encountered:
You can get its flip bits directly from LayerTile: https://docs.rs/tiled/latest/tiled/struct.LayerTileData.html
From there you can calculate the corresponding rotation. IIRC I don't think Tiled has a rotation option per tile, only these flip bits
It is possible to get the rotation of a tile?
I was not able to find this at the doc. The Map has a global Orientation, but I don't see an option to get the the Orientation per tile, how Tield does also support (see below).
The text was updated successfully, but these errors were encountered: