use case: multiplayer crew that operates stations on the same vehicle.
All the stations are nested in a prefab.
Each Network Object/Station needs to have the authority of a single Client.
Only one player can control a station at a time.
Tank
--cockpit
-----driving wheel
--turret
-----machine gun
-----main gun
--body
------machine gun left
------machine gun right
=================
Cannot have all the command RPC input on the Tank because restriction one client at a time control.
Do I have to do a custom spawn of each weapon? Remove the non network game object. Then add them in hierarchy manually?
Each weapon station will have component for NetworkId and RPC command code?
↧