How can I create objects that appear large but are unreachable?
I'm currently porting over a project from Unity to UE4. Originally in Unity, we had the sky sphere and large background objects (suns, planets, nebula clouds, asteroid fields, etc) as a small set of assets that were positioned around world center (0,0,0). We then had 2 cameras, one for the player and one for the background or "distant" objects mentioned previously.
The main camera didn't render anything that was on the "distant objects" layer (via culling mask) while the distant objects camera only rendered objects on the "distant objects" layer. The main camera had its "clear flags" property set to "Nothing" in order to show the contents of the "distant objects" camera that was being rendered before it.
When the main player camera moved, we matched the rotation of the distant objects camera to the player camera's rotation but kept the position of the camera at world center. This way you could never reach any of the distant objects.
My question is: What is the best way of achieving this effect in UE4? Is this not something that can be done easily or am I missing something?
asked Apr 27 '17 at 08:15 PM in Using UE4
Probably isn't the best solution but I'm sure you could make the "distant" objects update their position by the change in the camera's position. So if the camera moved forward 1 unit, all the distant objects would move 1 unit as well. This would keep every distant object a fixed distance from the camera. Again probably isn't the best way to do it but you can make it reasonably nice by using a base class for "distant object" that incorporates this logic.
answered Apr 27 '17 at 10:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here