Search Unity

Question 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:
    2,570
    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.