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

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.