Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Tank Driver and Gunner Across Network

Discussion in 'Multiplayer' started by rob.whitten, Jul 27, 2015.

  1. rob.whitten

    rob.whitten

    Joined:
    May 21, 2013
    Posts:
    3
    I'm trying to setup a game where one machine is the tank driver and the prefab has all the controls for driving and a second machine is the gunner and the prefab has all the controls for rotating the turret and firing the weapon. Is there a way to start these two players up with their own prefabs and have the driver send vehicle position updates to the gunner and the gunner send turret updates the driver. Basically the driver owns the main entity and would send out the creation for the tank and the gunner is just controlling the turret and updating the drivers entity and its local entity. Any ideas on how to accomplish this?