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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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 ?