Search Unity

Question why animator.rootRotation not rotate?

Discussion in 'Animation' started by Zimaell, May 27, 2023.

  1. Zimaell

    Zimaell

    Joined:
    May 7, 2020
    Posts:
    409
    i need to move and rotate the animation, i use animator.bodyPosition to move it, it works, but animator.rootRotation doesn't rotate the animation, why?

    I must say right away that the object itself should not rotate, so transform.rotation will not work here.

    how to make the root turn?

    (I use animator.rootRotation like animator.bodyPosition in OnAnimatorIKAnimator)
     
    Last edited: May 27, 2023