Hi guys,
I have a principal question about networking in Urho3D. Let’s assume I would want to create a typical Server, Client setup, where the Server is the authority. A easy way to do this seems to just use scene replication and just add (almost) everything to the scene on the server. However that seems strange, especially since the server should run in headless mode.
So I thought I could do this: Just add the Nodes to the Scene on the server and no Materails, Models, Lights etc. The client would than copy the scene (via scene replication) and add those things to the existing nodes.
Is this a way that makes sense? If so, how would you tag the Nodes so the client knows which Models need to go on which Nodes? Or would you send a big list
of Events to the client that explain what Models go on what Nodes?
Am I on the right way?
Thanks in advance!