- Home /
2.5d Sorting Layers
I have an orthographic 3D camera view, and all my objects are in 2D sprites and they are facing the camera, but if an object is from several sprites (for example a character) and the sorting is done by shifting on the Z axis,they can get mixed up with other sprites. With sorting layers it could be avoided, but then its only a static order and won't matter if the character is "behind" or in "front" of the other sprite.
Basically I want to group those multiple sprites of a character so they will act as one. Is this possible using some rendering order trick?
You could parent them to one object. $$anonymous$$oving that object will move them all.
That is already done, thats not the problem im having. The object moving together but the sprites are shifted on the Z axis so another sprite can slide between them.
Your answer
Follow this Question
Related Questions
2.5d Perspective 1 Answer
How do i add a layer to a gameobject? 1 Answer
Gravity not working when add animator layer 0 Answers
Layer Collision in Networks (Mulitplayer Game). 0 Answers
Make Certain Object's Raycasts Ignore Certain Colliders 0 Answers