Search Unity

Resolved How would i go by pushing a prop in scene over network?

Discussion in 'Multiplayer' started by alejandrorak2, Jan 13, 2022.

  1. alejandrorak2

    alejandrorak2

    Joined:
    Jun 29, 2019
    Posts:
    4
    Hello, i am currently making an fps multiplayer game, where i have a wall made of tiny cubes, now if a player shoots a cube, it will be pushed so the player can make holes in the wall. But im having trouble doing so.

    Using Mirror: Code: https://pastebin.com/GGAEYXPr

    This is my scene, Each cube has the IndividualBlock Script then the parent has the wall break script, where im running the network, since i dont want each block to have an identity and net work transform since thats inefficient. All i need to do is have each client simulate its own physics as the out come on where the block does not matter only that theres a hole.
    upload_2022-1-12_21-52-44.png