Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I set up my camera with portrait orientation?

I'm currently working on a mobile project with an orthographic camera which is meant to be played with portrait orientation. However, in the camera details panel, I'm not able to make the dimensions taller than wide. Any guidance is appreciated.

Product Version: Not Selected
more ▼

asked Oct 16 '14 at 01:45 PM in Using UE4

avatar image

1 1 1 1

avatar image BlockyDK Nov 06 '14 at 07:15 AM

I was trying to figure this out myself. I asked the same question a while ago, but no reply. Still searching for the answer. My Original Question

avatar image AustinK Jan 28 '15 at 05:22 AM

I can't find anything on this still... this is pretty lame.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Set the camera aspect ratio to 0.5625 (16/9)

more ▼

answered Jan 28 '15 at 06:37 PM

avatar image

56 2 4 13

avatar image AustinK Jan 28 '15 at 06:40 PM

My screen doesn't even rotate when i turn my phone... doesn't unreal do that automatically?

It's forcing landscape mode on me and it won't even rotate into portrait mode. Also, I've deleted every actor in the scene and my UMG still gets rendered and receives pressed and hover events, WITH NO ACTORS IN THE SCENE. I have no idea what is actually rendering my UMG Widget.

avatar image haruna Jan 15 '17 at 09:12 AM

Under Project Settings, did you go to both Android & iOS settings where you can set the project to support Portrait Mode?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

An easy (but pricey) solution would be an 'event tick' that checks if:

-getViewportSize | BreakVector | if X>Y then: use landscape UI, else, use portrait ui. (optional) Set (in UIWidget) LandscapeBool (true), else, set as (False)

You can either set both ui's independantly or have it (a single UI) rearrange itself based on a condition set by the action above.

Hope this wrks ;)

more ▼

answered Sep 30 '15 at 07:31 PM

avatar image

75 12 19 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You can constrain aspect ratio to 0.5625 in your camera settings and this seems to work fine for some projects.

In my case doing the above would stop all my paper2D sprites from moving so I had to us the option above for desktop and for mobile I did the following: Leave constrain aspect ratio "off" in your camera settings and in project settings go to Android > Maximum aspect ratio and set that to 0.5625.

Hope it helps

more ▼

answered Jul 04 '18 at 12:50 AM

avatar image

1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question