Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to override character animation world up / rotate animator?

Discussion in 'Animation' started by Mikhail94, Jun 23, 2019.

  1. Mikhail94

    Mikhail94

    Joined:
    Dec 22, 2015
    Posts:
    24
    I want to create character who walks the walls. But the character moves incorrectly (only move left and right) if he is standing on the wall (input already override with new world up). Apparently the problem is in the Root Transform.

    I already tried to play with Root Transform Rotation in Animation Clip Inspector and OnAnimatorMove method but unsuccessfully. Any ideas?

    Ground


    Wall (Animator circle is still horizontal)


    PS: movement through

    m_Animator.SetFloat("Forward", m_ForwardAmount, 0.1f, Time.deltaTime);
    m_Animator.SetFloat("Turn", m_TurnAmount, 0.1f, Time.deltaTime);


    in ThirdPersonController from Standart Assets.
     
    Last edited: Jun 23, 2019
  2. ngerbens

    ngerbens

    Joined:
    Nov 20, 2017
    Posts:
    23
    Did you find anything to solve this? Probably need to make an extra animation for your character that's making him/her walk vertically?
     
unityunity