|
|
|
|
|
by mrspeaker
1671 days ago
|
|
Great article - couple of questions: "when the server adds the scene to the SceneTree, it automatically sends that information remotely. Each connected client will then instantiate the scene automatically," What information does it send remotely? Is it all the 3D info for every object? "Put a cube at 10,10,10, with scale 1, rotation 0 etc"? "The RPC system will also work appropriately for the nodes spawned this way, so you can easily integrate state synchronization with messaging." What is "messaging"? Why is integrating state synchronization with messaging a useful thing? |
|
The sentence right before your first quote answers your question -
"Note that the client code doesn't "instantiates" the scene explicitly. However, since the scene is marked for replication [... your quote]"
In this case its sending the scene for the clients to instantiate.
They gave an example of messaging as well - RPC.