Hello people!
I am using PUN to sync my players position, it works all, i can spawn in a second player but the problem is,
If my character moves, the other character moves too, same for him…
How is this possible? Can someone help me? Thanks!
Hello people!
I am using PUN to sync my players position, it works all, i can spawn in a second player but the problem is,
If my character moves, the other character moves too, same for him…
How is this possible? Can someone help me? Thanks!
—Fixed
private void Update()
{
if (GetComponent<PhotonView>().isMine)
{
// character movement code here
}
}
Fixed it, but stil thanks!