I have a question. How can I send data periodically from the server to all players in a match?
What I want to do is, every 5 seconds, create an object at a random position in the screen, but it needs to be the same position for all players. So all players have to see that object in the same position.
I understand how this works when a player is the one who creates the object (like a bullet for example). But in my case no player should be creating these objects, they should be created by the scene itself (the server I asume), because these objects belong to the scene, not to any player.
Thank you in advance!