|Topic was automatically imported from the old Question2Answer platform.
I have a game world that is made up of cells. I create him by mask, looks like:
0 - is floor
1 - is wall
2 - is enemy
Floor and wall just is image in TileMap, but enemy is Node
First, I create an instance of all the enemies on the server, and when (at a random moment) the client connects, I send him a map and again create an instance of all the enemies, but now on client side.
Next if I call
kill() will be called by the respective enemies, those who are in the same position(same cell).
But I can’t understand, how RPC understands that this node is correct?
I want to know it, because sometimes I get error
Failed to get path from RPC and I think it’s somehow connected