0 votes

First of all, I'm using a Camera2D to center my player. I'm not sure if that's its correct use, so if I should be using something else, tell me. But if I'm right, how can I disable Camera2D limit?

in Engine by (1,091 points)

1 Answer

+1 vote

What do you mean by centering the player? If you mean seeing it at the center of the screen, it's Ok to put the camera as child of the player, I do that myself and it works well.

I don't see a parameter to disable the limit, so I have it set to insanely high numbers such as -10000000 and 10000000 (which is the defaults I think).

by (27,774 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.