Download

How can I set up a camera to perfectly fit the face of a cuboid in its view?

I’m have a static mesh that has a rectangular front face with dimensions of 3200 by 1800 units (to make it a 16:9 ratio corresponding to wide-screen). Please could someone explain how I can set up a camera to fit this face perfectly in its view, so the edges of the face lie on the edges of the screen?

If it helps, I’m developing my game using blueprints. :slight_smile:

simple screen is quad. It have FOV = 90 and aspect ratio 1x1. So its half size = its depth from camera.
2017-06-04_0918.jpg

If you change its aspect ratio to 16x9 (1.77777777778) it’s X will be the same, but Y changes proportionally
2017-06-04_0920.jpg