Search Unity

Multiplayer Cameras and Raycasts.

Discussion in 'Connected Games' started by sunflowergames, Sep 13, 2019.

  1. sunflowergames


    Aug 26, 2018
    So I am making a multiplayer game using photon 2, the problem arises where my build script uses raycasts and needs a camera assigned to it, the issue comes from the fact that the multiplayer script creates a new character for every player and thus there is no assigned camera for that script, I have tried other methods but that led to when one player placed a block all the other players raycasts had a block placed on them as well, is there anyway to fix this, I can post my scripts if the need arises. I apologize for my own stupidity