I'm trying to create a very simple peer-peer tank combat game where there is a different sprite for the hull and for the turret. the hull moves based on WASD inputs and the turret points at the mouse position and is pinned to the hull. the turret and the hull are put into a container. I sync both the hull and turret separately because they both accept different inputs to change their position and angle.
The problem is; when a peer joins the game it creates an extra copy of both the host's hull and turret and the peer's hull and turret. the error only occurs on the peer's screen. on then peer's end, the turrets for the host are pinned to host's hull but one doesn't rotate, and the second hull created for the host is at (-1000, -1000). the turret 2nd turret for the peer spawns at the location that the peer's tank is created and the peer's 2nd hull is also at (-1000, -1000).
So I have read all the multiplayer tutorials and looked over the multiplayer example "real-time game" multiple times and read the documentation for multiplayer, and as far as I can tell there shouldn't be a problem with my game. but there is.