Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Change Z Axis of sprite with Sprite Skin class from Animation

Discussion in '2D' started by meganinja, Jun 8, 2021.

  1. meganinja

    meganinja

    Joined:
    Apr 2, 2015
    Posts:
    35
    I have a 2D character rigged from a PSD File. The body parts have the Sprite Skin Class but in the game I'm using the Z axis to define wich sprite is renderer on top (I'm not using the Sort Order from sprite renderer, I'm using the transparency sort axis Z and Y). But I can't change anything from the transform component on the sprite object. I really need to change the Z axis and keep the rigging from the character. Is there any place in the code to change this or any other ideas? Please, I really need to know.
    (Braco_2 is the right arm, the objective is to higher up the Z-axis and make it render above the body)
    upload_2021-6-7_20-22-1.png
    upload_2021-6-7_20-22-45.png