Unet network transform child

Updated on November 13, 2018 in [A] Multiplayer
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on November 12, 2018

Hey, i have a player prefab with a network identity that spaws good, but deep down the herarchy it has the weapn. The weapon movment does not go on the server. In other words, one client can not see the other’s weapon movment. I tryed a network transform child but it seems that this only works for childs of the root player. My problem is that the gun is not a child of the root but it’s situated deep down. Any ideas to make this information go to the other clients?

  • Liked by
Reply
0 on November 13, 2018

Hey, i have a player prefab with a network identity that spaws good, but deep down the herarchy it has the weapn. The weapon movment does not go on the server. In other words, one client can not see the other’s weapon movment. I tryed a network transform child but it seems that this only works for childs of the root player. My problem is that the gun is not a child of the root but it’s situated deep down. Any ideas to make this information go to the other clients?

From Pau678

 can’t you synchronize the object apart from the root then? Or move the weapon to the root of the player prefab? How did you setup your hierarchy? 

  • Liked by
Reply
Cancel