- Home /
Question by
Jagster · Mar 14, 2014 at 09:50 PM ·
spritestexturessorting layersoverlapping
Sprites keep overlapping between game objects
In the picture there are two game objects, one road going vertical and the corner piece, within the road objects are the trees, each one is placed on its own sorting layer to avoid the textures clashing. However in doing this the trees at the bottom of each road piece are overlapping those at the top of other pieces, is there any way to fix this
untitled-1.png
(156.9 kB)
Comment
Answer by shopguy · Mar 14, 2014 at 10:41 PM
It appears you are using an ortho camera, can you simply move one piece closer to the camera? With your player always being closer than any background. Depending on your axis, this would mean adjusting one of the x,y,z values.
Your answer
![](https://koobas.hobune.stream/wayback/20220613140246im_/https://answers.unity.com/themes/thub/images/avi.jpg)