Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

2D animation: delaying transition on current frame

Discussion in 'Animation' started by batterybat, Jul 20, 2021.

  1. batterybat

    batterybat

    Joined:
    Apr 17, 2021
    Posts:
    7
    Hi all, I have a question about 2D frame-by-frame animations:

    When a transition begins on an Animation Controller, I'd like it to delay switching to the new Animation Clip until the frame of the current existing Animation Clip has completed. I note that this time is variable depending on "how far into the current frame" the current animation is.

    I'm aware there are many ways one could achieve this invasively / programmatically, but was wondering if there is any built-in functionality for this sort of transition.

    Thanks!
     
  2. batterybat

    batterybat

    Joined:
    Apr 17, 2021
    Posts:
    7
    Turns out this is not possible using stock Unity and I've had to work around it by timing when animations can transition more precisely.
     
  3. KalOBrien

    KalOBrien

    Unity Technologies

    Joined:
    Apr 20, 2021
    Posts:
    61
unityunity