0 votes

I have made a game in landscape mode, however it doesn't auto-rotate to landscape and reverse landscape automatically when the user flips the phone(Android). How to enable this functionality?

Godot version 3.3.2
in Engine by (15 points)

Yes it stays in landscape mode. Within landscape mode you can flip the phone. So I wanted the game to automatically switch between landscape and reverse landscape mode. What @vnmk8 suggested, worked.

1 Answer

+2 votes
Best answer

under Project settings > General > Display > Window > Handheld > Orientation. choose sensor_landscape.
and the phone should have Auto-rotate enabled

by (430 points)
edited by

Thanks, this worked.

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.