Search Unity

Issue with BlendTree when recording on animation

Discussion in '2D' started by CarlCrz, Nov 29, 2019.

  1. CarlCrz

    CarlCrz

    Joined:
    Jul 24, 2018
    Posts:
    1
    Hello guys, how are you doing? Could someone help me with one thing regarding the BlendTree?
    I am recording colliders in the animation like in this video:

    The problem is that when using InControl, X and Y position can take any value from [-1, 1], so many nodes are activated even it only executes the closer animation.
    Did someone had this issue in the past doing something similar?
    It would be nice if there is any configuration for this, so I don't need to fix it by code, as it is not a good idea to do all the calculation every time that an attack is executed.
    Thanks in advance!
    Cheers!