Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Dzandaa |
I started designing of an isometric dungeon game.
I have a problem because the player sometimes appears through the walls.
I tried to change the setting “Tile Origin” but then the problem moves to another side.
I think of an YSort problem
Main Scene
Node2D
—>TileMap # Grounds ZIndex 0 TileOrigin Centered Isometric 256x128
—>TileMap # Walls ZIndex 1 TileOrigin Centered Isometric 256x128
------>YSort
--------->Player # Zindex 0 Z As Relative
And Scene Player
KinematicBody2D
—>AnimatedSprite
—>CollisionShape2D
—>Camera2D
Any idea?