Quantcast
Channel: Latest Questions by zenforhire
Viewing all articles
Browse latest Browse all 83

player control of child network objects

$
0
0
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?

Viewing all articles
Browse latest Browse all 83

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>