Download

Dynamically change orientation / Aspect Ratio based on physical mobile device orientation?

After going through all the functions that are exposed to BP’s, and I’m not finding a way to dynamically change the aspect ratio / orientation of the game if the user turns their device to the side. Is there a way to do this? I’ve looked at the match3 template and c++, but… yea, I couldn’t figure it out :frowning:

It would also be beneficial if the user “Cast” their device to a larger screen (TV, Computer, Docking station)

Orientation follows the AndroidManifest.xml settings from the orientation setting in Android Project Settings. If you set it to any of the Sensor settings it will adjust automatically and you get a resize event.

Perfect, thanks Chris!