RootMotion vs PhotonAnimatorView

Options

Hi,

I have a case where an enemy needs rootmotion for certain attacks. And I have found the problem that in PhotonAnimatorView it disables this option.

Do you know why?

If I comment that line will I have problems?


PhotonAnimatorView.cs

Update()

      if (this.m_Animator.applyRootMotion && this.photonView.IsMine == false && PhotonNetwork.IsConnected == true)

      {

        this.m_Animator.applyRootMotion = false; 

      }


Thanks!

Answers