playMaker

Author Topic: photon pun2 camera follows the other player[SOLVED]  (Read 2453 times)

Heavy_D

  • Playmaker Newbie
  • *
  • Posts: 2
photon pun2 camera follows the other player[SOLVED]
« on: August 16, 2019, 10:55:06 AM »
Hello,

I followed the tutorials on youtube from dumb game dev... and sinds the last video is not up yet... I wanted to try and fix it myself... but I have now something where my camera is following on the other screen and mijn camara is following the other player... now in the doc of playermaker about networking I saw something about Photon view get is mine wich disables the camera if it's not you..
https://hutonggames.fogbugz.com/default.asp?W875

Is there someone who knows how this works and can show me what to put in those states.. and if this is the right direction I must take to fix my problem.

« Last Edit: August 19, 2019, 02:55:31 AM by jeanfabre »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: photon pun2 camera follows the other player
« Reply #1 on: August 16, 2019, 09:38:51 PM »
Hi, next tutorial should be out soon which fixes the issue.

According to Jean, the solution to this is:

"ok, regarding your camera issue, it's because you have an actual component "Camera Work" on the prefab.that component need to be destroyed when the instance "is not mine", that's all there is to it."