Camera2Ds following the opposite player in multiplayer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By PopeRigby

I’m having some trouble with Camera2Ds in a multiplayer game. With two players, each camera follows the other player instead of the player that the camera node is a child of. So when a player walks off screen, my camera will follow their player. Here’s an example:
https://watch.haddock.cc/videos/watch/3f973575-29a1-470e-8a22-3d1ef70d70cd

PopeRigby is me, and JujubunicornTHICC (heh) is the other player.

:bust_in_silhouette: Reply From: Calinou

You need to enable the Current property on your player’s Camera2D and make sure it stays disabled for all other players.

How would I do that?

PopeRigby | 2020-07-29 23:23