Search Unity

NetworkTransform component updates position every a long travel distance

Discussion in 'Multiplayer' started by Orr10c, Mar 15, 2017.

  1. Orr10c

    Orr10c

    Joined:
    Sep 11, 2016
    Posts:
    45
    hi :)
    I'm currently working on making my game a multiplayer one, so far everything went great until i attached the network transform component to my player prefab, the rotation works awesome but the position of the players is updated(shown) after the player makes a long enough distance, it doesn't update the position by time but every certain amount of distance (a few meters, not more, but it's still not close to being smooth which is how i want it to be) made by the player does anyone know what i can do to fix it?
    thanks alot! :D
     
  2. donnysobonny

    donnysobonny

    Joined:
    Jan 24, 2013
    Posts:
    220
    A few things to look at:
    Have a look at the other properties too, listed here: https://docs.unity3d.com/ScriptReference/Networking.NetworkTransform.html. The "sync" related properties may also play a part in the issue that you are facing, although it's a little less likely.

    Hopefully this helps.