Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Play a clip without predefining it within an animator controller?

Discussion in 'Animation' started by rohan-zatun, Apr 6, 2021.

  1. rohan-zatun

    rohan-zatun

    Joined:
    Jan 13, 2021
    Posts:
    14
    Is there a way to play an animation clip without redefining it in an animation controller?

    Something like the "Play Montage" or "Play Slot Animation as Dynamic Montage" blueprint nodes in UE4, where you can just pass in an
    AnimationClip
    to an
    Animator
    with custom blend settings.

    The use-case with this setup is to not have to declare things twice (once in meccanim, and then again when triggering the animation from code), and could smooth up the workflow quite a bit.
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    1,488
    Not if you use Animator Controllers, but Animancer (link in my signature) is entirely built around the ability to just play animations directly in your scripts without requiring any other setup.
     
unityunity