+1 vote

(GODOT3) I have a 2D camera that follows my player but I want the camera to only follow my player left/right and not up/down. What settings do I have to use? I have been playing with the Drag Margin settings but no luck so far. Do I have to write my own for this? Any help would be welcomed. Thank you

in Engine by (13 points)

1 Answer

+1 vote

Try to set camera bottom and up limits to minimal values (i think -1 and 1 would work for you).

by (16 points)
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.