If I use the Grid collider setting in the Tsx Asset Importer, Colliders on tiles seem to be offset by (0.5, 0.5) when used with a TilemapCollider2D. If a tile is rotated in Tiled, this offset is rotated similarly. See the attached image showing the same tile in different orientations.
This doesn't seem to be an issue if I use the Sprite collider instead.
← Return to tool
Comments
Log in with itch.io to leave a comment.
If I use the Grid collider setting in the Tsx Asset Importer, Colliders on tiles seem to be offset by (0.5, 0.5) when used with a TilemapCollider2D. If a tile is rotated in Tiled, this offset is rotated similarly. See the attached image showing the same tile in different orientations.

This doesn't seem to be an issue if I use the Sprite collider instead.
Is there a way to import a .tmx file at Runtime and place it in the game