In UE4 how do you make a plane the full size of the viewport and fixed distance from the camera that follows the movement of the camera exactly like the example animated gif below which I think was done in blender.
We get the position / size of the image by building a triangle:
- Get a vector in front of the camera.
- Multiply the length of that vector from camera against TANd( field of view / 2 ) to get the opposite side length (width of the plane at distance).
- To get the height just divide the width with the aspect ratio of the camera.
For further reading: Pythagoras
1 Like
Thanks for the reply, I am sorry if I did not explain myself well.
I want the plane to move with the camera as per my first post, so that the plane is always full screen and infront of the camera.
I want to have fullscreen video plane compiled for Quest 2 headset so that no matter which direction I move my head with the Quest 2 on the video plane is always full screen in front of the camera.
I hope this is clearer.