Search Unity

Keep animation playing in Animator after Timeline ends

Discussion in 'Timeline' started by MikeGDev, Feb 15, 2021.

  1. MikeGDev

    MikeGDev

    Joined:
    Dec 19, 2017
    Posts:
    53
    Hi, I would like to know if its possible to keep the animation from the animation track playing in the Animator after the Timeline ends. Right now it looks like the Animator is playing its original animation in the background while the Timeline takes over. Is it possible to have the Timeline switch the animation as well?
     
  2. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    Once the Timeline ends, it stops overriding other animation sources on the Animator.
    You can set the Playable Director to Hold the pose of the last frame if you want to keep overriding forever, but then you will have to manually stop the PlayableDirector to return control to the Animator
     
  3. MikeGDev

    MikeGDev

    Joined:
    Dec 19, 2017
    Posts:
    53
    Thanks for the reply, however I was looking for a way to have the Timeline switch the animation in the animator so even after the Timeline stops playing the animation will continue in the Animator.