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

Feature Request Make animators retain state and transition information when duplicated

Discussion in 'Animation' started by SentientSupper, Mar 25, 2023.

  1. SentientSupper


    Dec 29, 2022
    Currently when you duplicate an object by instantiating it, the duplicate object will have its animation states reset to default. While it's possible to call Play() on the new animator, transition information is not kept which leads to the action animations being different if the original object was in the middle of a transition.
    Let's say I want to make an ability where a character vanishes and leaves behind a clone. The problem with the current approach is that it does not happen seamlessly. A noticeable snapping can be observed with the clone which is undesirable.
    Alternatively, allow us to directly set transitions (including the current transition time) between animations using scripts without using triggers/whatever.