Search Unity

[UNet] Network Animator transition stutters

Discussion in 'UNet' started by genaray, May 21, 2017.

  1. genaray

    genaray

    Joined:
    Feb 8, 2017
    Posts:
    191
    Im currently trying to make a little lan multiplayer game. I want to sync the animations of the players and i thought Network Animator would be the best way to do that. But theres one problem... for example, when the player starts walking the transition/crossing between the idle animation and the walking animation stutters. The main walking animation is smooth. Im using some blend trees in the Animator, thats pretty much all. I also have a Network Transform component attached to the Players. Its all working fine in singleplayer. The crossing/ transition stuttering only happens in the multiplayer mode.

    Does anyone know how to fix this ?
     
  2. genaray

    genaray

    Joined:
    Feb 8, 2017
    Posts:
    191
    Any ideas ?
     
  3. genaray

    genaray

    Joined:
    Feb 8, 2017
    Posts:
    191
    Heres an video that shows the stuttering/Jittering very well :

     
  4. Deleted User

    Deleted User

    Guest

    Well, I've implemented my own Animator for sync floats, just because for smooth transaction you need to Interpolate that float via Mathf.Lerp in Update(). You can use Animator for bools and triggers, but your own for floats.
     
    TwoTen likes this.