I’m working on a simple game, where the clients are running what’s essentially a different scene than the server. When a client adds a player, I’m also sending a position and rotation to serve as an offset of their synced position and rotation.
To initially test the idea, I reparented the client’s player to another object on the server, then moved that object in the editor. I expected the player object to still move normally just at an offset location. Instead, whenever the NetworkTransform is synced, the world position and rotation are set instead, and the player snaps to that position regardless of how I move the parent on the server.
How can I sync the local coordinates instead? Would a syncvar work for such a thing? I have almost no experience at all with UNET.
I hope this is clear enough. Thank you very much.