Hi,
Im working on a 2d Multiplayer sidescroller, and up until now I have only worked with a Host(server+client), and a couple of Clients, which works fine. Now I want to implement a headless Dedicated Server mode.
Currently a Player object calls a Cmd(), which invokes a ClientRPC on the player which locally instantiates a weapon object, and parents himself to the weapon. In OnCollisionEnter2D of the player, I check if (IsServer), and do collisions. This works.
But when using StartServer()...
Dedicated Server Collision Rpcs
Im working on a 2d Multiplayer sidescroller, and up until now I have only worked with a Host(server+client), and a couple of Clients, which works fine. Now I want to implement a headless Dedicated Server mode.
Currently a Player object calls a Cmd(), which invokes a ClientRPC on the player which locally instantiates a weapon object, and parents himself to the weapon. In OnCollisionEnter2D of the player, I check if (IsServer), and do collisions. This works.
But when using StartServer()...
Dedicated Server Collision Rpcs