cannot locate same object in different position each client?

Updated on October 5, 2018 in [A] Multiplayer
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on October 4, 2018

I tried to create a multiplayer card game in Unity which 4 players are playing. I do create all the 52 cards in the server and deal to players. Each player sees its own cards only. For other cards, I disable their renderer. When a player plays some card, on other players I enable the renderer and play with its position. My problem is when a player throws a card to the table, it should be in different positions for each client and move to the table. Imagine that one of the players is sitting on the right of another but left for another one. So when that player throws a card, this card should come from left of another player but right from the other one. It may be a dumb question but my mind goes blank, I cannot think properly 🙂 Thanks in advance.

  • Liked by
Reply
0 on October 5, 2018

Well, left and right is a point of view question. So, if you create all 4 players sitting around the table and each one has it’s own camera, then you can totally use world space coordinates as always. There is no need of thinking to complicated therefore 😉

 

  • Liked by
Reply
Cancel