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. Dismiss Notice

Question 2D Character Clothing

Discussion in '2D' started by cyberdrunkdev, Jul 1, 2023.

  1. cyberdrunkdev

    cyberdrunkdev

    Joined:
    Dec 6, 2022
    Posts:
    24
    So, i have a character that i've rigged with bones. Now it is animated, and it's walking: I used: components sprite skins, ik-manager etc.

    Now, i draw another sprite called Jacket, and i rig it. Now i add it as a child for the character object, and i add the jacket sleeves as child for arms, and the body part i attach as a child for the character chest.

    OK, everything works fine and the jacket is moving within the character movement.

    PROBMEM: The jacket and the sleeves are always on top of the character sprite. I need the other sleeve to be behind the jacket (THIS is still possible using bone depth), but i need the sleeve to be on top of the arm and behind character chest.
    This is so frustrating. Bone depths doesn't work between two sprites :(
    Please help!

    Or do i need to work out the clothes in the skinning editor with the actual character.
     
    Last edited: Jul 1, 2023
  2. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    split the jacket into 2 parts, front jacket and back sleeve
     
  3. cyberdrunkdev

    cyberdrunkdev

    Joined:
    Dec 6, 2022
    Posts:
    24
    But it's impossible to add behind the player body and in front of the player arm, which is behind the body.
     
  4. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    you have to split up the player parts too