Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Heavy_D on August 16, 2019, 10:55:06 AM

Title: photon pun2 camera follows the other player[SOLVED]
Post by: Heavy_D 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 (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.

Title: Re: photon pun2 camera follows the other player
Post by: tcmeric 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."