Question by
rajatthosar · Oct 17, 2017 at 10:35 AM ·
multiplayercamera-movementmultiplayer-networkingmain camerafirst person shooter
Why does my camera attaches to second player on multiplayer FPS game?
I am creating a simple Multiplayer FPS game. When I run the game, and spawn second player, the camera of first player also changes to the PoV of second player. I can still control the first player, but I "see" from the eyes of P2 even on P1 screen. I have also added this:
if (!isLocalPlayer) { Destroy (this); return; }
to the script, but nothing seems to be working. Can anyone please help me out here?
Comment