Search Unity

Third Party photon synchronize mecanim animation(with root motion)

Discussion in 'Multiplayer' started by NikoBusiness, Oct 23, 2014.

  1. NikoBusiness

    NikoBusiness

    Joined:
    May 6, 2013
    Posts:
    289
    hello guys i am synchronizing transform position and animation by mecanim root motion animations and i realised that its a little bit pain in the ass and positions are desynchronizing :mad::mad:
    so i thought of an idea to call a method every 5 seconds to check if the positions are desynchronized and if so it synchronises them. and its a very bad idea because the image of the game is ruined :/, so guys is there a better way to do that?
     
  2. NikoBusiness

    NikoBusiness

    Joined:
    May 6, 2013
    Posts:
    289
  3. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,066
    Usually, positions should be synced by PUN. Do you observe the Transform ob the prefab? Or a script?
    We are working on Mecanim support. This should help with the trouble of animations.
     
  4. NikoBusiness

    NikoBusiness

    Joined:
    May 6, 2013
    Posts:
    289
    yeah i know how to sync the positions by the observer or script, but it sucks internet speed isn't it? so is there any other way to make it suck less internet?