Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Tile map draw order ignored sprite pivot setting

Discussion in '2D Experimental Preview' started by zephyr831125, Mar 4, 2017.

  1. zephyr831125

    zephyr831125

    Joined:
    Mar 4, 2017
    Posts:
    54
    I believed the draw order calc ignored sprite pivot setting, and all defaultly using "center"

    the taller one is using customed pivot at(0.5, 0.25), and the short one is centered, so they have the same position y in scene.


    but, apparently, they have different render order, the chair/desk covered the taller guy , but not the shorter guy.
    It's proved in Frame Debuger:


    I don't know if it's a bug or I massed up something.

    This is my project on github:
    https://github.com/zephyr1125/University.git
    You may reproduce it and hope someone help me please.
     
  2. Zephyr-Zhang

    Zephyr-Zhang

    Joined:
    Jan 24, 2013
    Posts:
    14
    Hello~ anyone home?