A
A
Alexey Fobius2021-09-03 21:06:00
C++ / C#
Alexey Fobius, 2021-09-03 21:06:00

Why are the cameras not working properly?

Created a multiplayer project on Photon
And there was a problem when there are two players in the same room, their cameras change places (i.e. I see the "eyes" of the second player, and he is mine)
But at the same time, the controls work correctly

(Spawn players from the prefab)

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ikaoxc, 2021-09-03
@phobious

The fact that the camera of the second player must be destroyed / disabled for non-local players.
(I haven't used Photon for a long time, like the IsMine field is responsible for this check)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question