0 votes

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.

in Engine by (26 points)

1 Answer

0 votes

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

by (9,320 points)

How would I do that?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.