Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Animator State Transitions lack customizability

Discussion in 'Animation' started by ChimiChangle, Aug 26, 2022.

  1. ChimiChangle

    ChimiChangle

    Joined:
    Feb 28, 2017
    Posts:
    8
    upload_2022-8-26_7-16-0.png

    I really wish there was a way to transition from one animation to the next in a way that wasn't just linear. I looked around and found this: https://docs.unity3d.com/2019.1/Documentation/Manual/TimelineEasingClips.html
    but this is for a much older version of unity and is no longer a supported feature. To be able to Ease-in and Ease-out of two states, with control over the nature of the easing would be godsend. Instead, I purposefully create extra animations that are literally just transition states that ease, but I am also aware that this is not sustainable for animations that have a lot of connectivity/transitions.

    There may even be existing solutions that I'm unaware of, but since I'm using the animator for UI, I can't find many tutorials on layers, substate-machine, and blending work for UI elements.

    I don't use UI Toolkit either because the animations available are too basic and also it is incompatible with the current game I've been hired to work on.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,148
    This is also the Animation team :p
    I guess we need an Animation team Dev blitz next!
    I'll pass the feedback on to them. Thanks
     
    JesOb and ChimiChangle like this.
  3. ChimiChangle

    ChimiChangle

    Joined:
    Feb 28, 2017
    Posts:
    8
    Dang, I use these for UI so I thought I could squeak it in, oh well
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,148
    There is an experimental animation system for UI Toolkit but it's separate from the existing animation system. Ill let the UI Toolkit team give further details.
     
    JesOb likes this.
  5. martinpa_unity

    martinpa_unity

    Unity Technologies

    Joined:
    Oct 18, 2017
    Posts:
    455
    UI Toolkit now supports uss transitions which are analog to css transitions. It's a fairly simple animation system that is built-in directly in UI Toolkit. There is no built-in way to drive it through Timeline/Animation at the moment (more info about that here).

    In the future, as we improve UI Toolkit, there might be proper integration with the Timeline/Animation workflows, but as Karl said, adding features in those workflows is owned by the Animation team.
     
    ChimiChangle and karl_jones like this.
  6. ChimiChangle

    ChimiChangle

    Joined:
    Feb 28, 2017
    Posts:
    8
    Definitely looking for UGUI features, mainly because UI Toolkit doesn't cover everything that UGUI can do right now.
     
  7. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,109
    When start working on proper integration with the Timeline/Animation workflow, I hope UI Toolkit runtime UI can solve UI animation performance issue at uGUI that when using Animator to animate uGUI it will greatly affect ui performance.