Search Unity

Animation Blend Tree: Odd Idle Behavior

Discussion in 'Scripting' started by Cyber-Dog, Nov 28, 2020.

  1. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    352
    I guys,

    I have used blend trees quite allot and never had this happen, or never noticed.

    I have a 2D blend tree, each direction -1 to 1. With standard locomotion; Forward/Back/Left/Right/Idle.

    For some reason, when I go back to Idle (0,0), it sometimes continues on through part of the idle animation.

    It's very noticeable as the idle animation has a point where the character looks back at the camera. So to can go from running(looking forward), to immediately flipping their head back at the camera.

    Is this normal? Do I have to fix/override through some code?


    Thank you in advance :)