Search Unity

Question 2D Animation chaging part at run-time

Discussion in 'Animation' started by BrokenAngel, Jun 30, 2020.

  1. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Hi guys lets say I have a character with 2 kind of Hats.

    So I created 2 "Sprite Library" asset with identical category and label. Then I swaping them at run-time, the problem I see that is the "Sprite Skin" isn't updated whenever I change the Sprite Library, causing the animation error.

    As far as I understand, those 2 hat is influnent by different set of bones, so when change Sprite Library the Sprite Skin isn't auto update the bone influent.

    upload_2020-6-30_16-46-17.png

    upload_2020-6-30_16-46-35.png

    Is there different way to achieve this ?
     
  2. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Hi, is there anyone can help me ?