Search Unity

Frame Hold Animation Clip in Timeline

Discussion in 'Timeline' started by R42_Leon, Jun 14, 2019.

  1. R42_Leon

    R42_Leon

    Joined:
    Feb 24, 2016
    Posts:
    25
    I'd like an animation clip to hold a specific frame for a set amount of time in a timeline. Is it possible to do so? I tried by setting the "Clip In" value on the clip to the frame I want to hold and setting the Speed Multiplier to zero, although it seems like the lowest possible value for that field is 0.001.

    Any alternative ways to do so?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Unfortunately no. The closest you can get is make your clip with the clip in and speed multiplier, and shrink it to the minimum length and use a hold extrapolation to the next clip.
     
  3. R42_Leon

    R42_Leon

    Joined:
    Feb 24, 2016
    Posts:
    25
    I see, thanks for your reply. I did end up creating another animation clip in the imported model which was just one frame long, and setting it loop - seems to work as well.
     
    seant_unity likes this.
  4. emanuelbjorsell

    emanuelbjorsell

    Joined:
    May 4, 2015
    Posts:
    8
    I was also thinking of how this could be done and this thread helped me find a solution.

    I ended up setting clip in to the frame I want to hold and just having that frame in my animation clip and setting Post- extrapolate to hold. That seems to work.
     
    R42_Leon likes this.