Is there something like "local Layers" in Unity
I have a serious Problem with layers and Sprites, to make them behave like 3D Objects. The Layers never show the desired result:
I have 2D Sprite characters in a 3d Scene. So one character can walk behind another character and also in front of the same character. And the Character is of course combined of different sprites in a different order within the layer.
Here is the thing: If I put both characters to the same layer, the character parts overlap each other. If I put both in different layers, the one character is overlapping always the other completely, no matter if he is behind him or not.
I'm aware, that this is the correct behaviour and there is no error - but what I need right now is something like a local layer, that layers the body parts correctly inside one object, but doesn'T effect the layering of other objects in the scene, but determines the visibility from the z axis, or is there an other way to accomplish what I need?
I already tried to avoid layers completely and sort the body parts on the z axis, but that worked only partly and when I rotate the character, to get animations from the opposite direction, it breaks of course.
Your answer
Follow this Question
Related Questions
Best way to generate meshes based on algebraic functions? 0 Answers
Combine 3D and 2D engines 0 Answers
How can I layer images and mesh? 0 Answers
Moving Particles behind specific layer(s) 0 Answers
How can we make a script to changer render order, based on players and enemies Y positions? 0 Answers