Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Dedicated Server Collision Rpcs

$
0
0
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

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>