Search Unity

Multiplayer player move another player

Discussion in 'Multiplayer' started by wind02, Dec 18, 2017.

  1. wind02

    wind02

    Joined:
    Mar 3, 2013
    Posts:
    5
    Hello everybody,

    I'm new with networking in unity.

    I'm trying to do a multiplayer game, but I'm having a little difficult with something.

    I'd like to know how I can do this:

    I have one player at the bottom side,
    and another player on the Top side

    Like a 3D pong game, or Tennis game,
    but the player prefab on the Top side is different of the player of bottom side,

    and The Main Camera always focus on the player at bottom side

    I uploaded an image of my game,

    it is avaliable on play store.

    https://play.google.com/store/apps/details?id=com.whitehousegames.aliencup

    I don't know if I explained right.

    Thanks!
     

    Attached Files:

  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I am not exactly sure what part of that you're needing help with.
     
  3. wind02

    wind02

    Joined:
    Mar 3, 2013
    Posts:
    5
    All player always see the front view, but in clients they have differents positions.. I don't know how to sync it.
     

    Attached Files:

  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    But are all players supposed to always see the front view? You're not being clear with what the problem is and what you want to happen.
     
  5. wind02

    wind02

    Joined:
    Mar 3, 2013
    Posts:
    5
    Yes, is that what I need, but when I tried to do this, all players movimente the same player

    Each player has a different prefab...

    I'm sorry I don't know how to explain it better.