DragonBonesCSharp icon indicating copy to clipboard operation
DragonBonesCSharp copied to clipboard

Z ordering issue

Open nosh247 opened this issue 8 years ago • 5 comments

hi there seems to be an issue with z ordering i have to bump it to 2 for it to look correct, please advise. If my camera is orthographic and perpendicular to the object it looks ok, but if i rotate like 10 on x you can see the z ordering a bit messed up.

nosh247 avatar Feb 06 '17 13:02 nosh247

@nosh247 I'm having the same issue, how do you bump the z ordering?

renatomserra avatar Mar 26 '17 12:03 renatomserra

@RenatoSerra22 It is still difficult to sort z order in unity. https://forum.unity3d.com/threads/official-2d-sorting-feedback.376707/

akdcl avatar Apr 26 '17 01:04 akdcl

the Sorting Group at Unity 5.6+ fixed this issue :D

toadietechnika avatar Aug 10 '17 02:08 toadietechnika

You can add combine mesh or add SortingGroup component

zhouzhanglin avatar Aug 10 '17 02:08 zhouzhanglin

The mesh are already combined at runtime, just add the SortingGroup component then the Z axis of the inherited meshes are going to work as it should.

toadietechnika avatar Aug 10 '17 03:08 toadietechnika