Search Unity

AnimatorControllerPlayable

Discussion in 'Animation' started by supervelly, Nov 28, 2021.

  1. supervelly

    supervelly

    Joined:
    Dec 6, 2017
    Posts:
    16
    Hi all

    I'm trying to wrap my animation controller with
    AnimatorControllerPlayable
    I'm setting the
    SetPropagateSetTime to true, so that I can control the time of the playable manually.
    but it doesn't seem to change the time of all the nodes in the playabble graph.

    what am I doing wrong?
    is it even possible to achive what I'm trying to do?

    thank you
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,568
    It's not possible as far as I know. AnimatorControllerPlayable completely ignores its Playable speed for whatever reason and the closest alternative would be to make a parameter and set it as the speed multiplier for every state in the controller (which would apply to the animations but not the transition speeds). I just avoid using Animator Controllers entirely.