So I have a tilemap which the layer is sorted to make an effect like this:
But when I’m in front of the table, the tilemap looks like this
This could happen because the player is tall and colliding with the top of the table.
Is there a way to prevent this happened without changing the player sprites?
The layer is sorted from (deepest to shallow)
0: table
1: player
2: top of the table