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

Third Party Is there an equivalent to MonoBehaviour.OnAnimatorIK BUT for Mirror??

Discussion in 'Multiplayer' started by PokiTheDog, Apr 26, 2021.

  1. PokiTheDog

    PokiTheDog

    Joined:
    Aug 17, 2018
    Posts:
    4
    Hey I couldn't find this anywhere on the internet
    The MonoBehaviour.OnAnimatorIK() function, it works on server/client but not on other clients USING mirror?
    Is there an alternative to this function BUT for the Mirror network?
    Thanks, appreciate it guys!

    Here's my OnAnimatorIK code that doesn't work on the other clients besides server
    upload_2021-4-25_20-41-17.png
     

    Attached Files:

  2. Chasmstare

    Chasmstare

    Joined:
    Mar 27, 2021
    Posts:
    1
    Have you solved the problem yet
     
  3. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    Best to not use NetworkAnimator. It’s a leftover from the UNET days. Useful to get started, but imho just sync your state to clients and feed it to their local Animator.

    For example, you probably sync movement velocity etc. already anyway.