Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Start / Stop Animations

Discussion in 'Animation' started by Lypheus, Feb 23, 2015.

  1. Lypheus

    Lypheus

    Joined:
    Apr 16, 2010
    Posts:
    664
    Just need a gut check here - am I right assuming that Blend Trees will not work with direction change animations and start/stop animations?

    For instance, I have an animation scheme that looks something like this: http://screencast.com/t/JyuSesR7 .

    The Blend Tree counterpart to it is this: http://screencast.com/t/7XgGv2dOji .

    So, the problem I'm seeing is that blend trees "appear" to only take into account unidirectional velocity changes (i.e. moving from idle -> walk -> run). But what about if you have a scenario that i've shown in the first case, where you'd like to have a "coming to a stop" animation ... is there something i'm missing or am I on the correct path avoiding blend trees for this purpose?
     
  2. Jself

    Jself

    Joined:
    May 29, 2014
    Posts:
    56
    If it was me. I would have the stop and start animations be in separate statemachines. Then have the direction and speeds animations in the blend tree.

    So the start state would enter the blend tree, and the stop state would exit the blend tree.
     
    theANMATOR2b likes this.
  3. Lypheus

    Lypheus

    Joined:
    Apr 16, 2010
    Posts:
    664
    Oh that's interesting - I was thinking something along those lines just didn't consider moving things up a level - thanks Jself, I'll give that a try tonight :).