Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Turn character around (180deg) with animation and return to idle animation

Discussion in 'Animation' started by hreza389, Apr 12, 2021.

  1. hreza389

    hreza389

    Joined:
    Aug 12, 2018
    Posts:
    2
    Hey all:)

    Does anybody know how to turn the character around (rotate 180deg on Y axis) with animation (not with a script) and return to "Idle" animation without flipping back to "Idle" animation's original (rotational) orientation?

    1. Animator has "Apply root motion: On"

    2. After turning around, when the animator returns to "Idle" state, it turns the character around (automatically) to orient it to "Idle" animation's original orientation. This is something I am trying to avoid.
    Problem.gif

    I am making a 3D platformer (only left and right movement) - In other words a 2.5D game and I don't want to flip the character to turn it around - I want to animate the turning so it looks more realistic.

    Thanks,
    Hamid.
     
  2. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    have the same issue.