Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

2 Person multiplayer (Help: Camera issue)

$
0
0
Hey I've been struggling to create a simple 1 vs 1 game. I've managed to do get both player join the same room and launch the scene. After that I've also managed to spawn 2 players each on their side. The part that bugs me is setting up the camera for each player so they can see from their own camera. The player prefab has a camera included So far in the code part i used the PhotonView.isMine to check which one i own and then i checked if PhotonView.isMine isn't mine then disable the camera. But that didn't seem to do what i want it to do. Can anyone point me in the right direction? Any help is really appreciated! :)

Viewing all articles
Browse latest Browse all 1557

Trending Articles