0

Timeline and Animator Blend Trees

chalitnc 2 years ago updated by MariusB 3 months ago 2

Hi, I'd like to know if there's a way to have the timeline affect animator parameters correctly - I have a walk animation that is blended based off the velocity of the nav agent to determine the forward and horizontal. However, as there is no accessible velocity property on the nav agent, what would be the right way to achieve this with Chronos?

Chronos Version:
2.4.14
Unity Version:
2018.2.0f2

I would also be interested in hearing a possible way to rewert animations from a blend tree. Much Thanks for releasing the Chronos for free in the asset store btw!

Nevermind I already figured it out: In the script that sets the velocity in the animator, you need to check if you are rewining. If so, don't set any values and the animations will be played in reverse: 

    if (GetComponent<timeline>().timeScale <= 0f) {
      return;
    }