Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Unity Multiplayer Sync player transform's scale directly?

Discussion in 'Multiplayer' started by Deleted User, Jun 28, 2015.

  1. Deleted User

    Deleted User

    Guest

    Is there a native way to sync the player transform's scale? Setting transform.localScale for the local player doesn't seem to propagate to other clients automatically via the NetworkTransform.
     
  2. MartinLyne

    MartinLyne

    Joined:
    Apr 25, 2013
    Posts:
    30
  3. Deleted User

    Deleted User

    Guest

    Thanks. For a side-view 2D game, syncing the localScale is pretty often, so there will have to be a SyncVar with a hook function that updates things like player.localScale.