Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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