Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Feature Request Make animators retain state and transition information when duplicated

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

  1. SentientSupper

    SentientSupper

    Joined:
    Dec 29, 2022
    Posts:
    3
    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.