Does anyone have any idea how can I switch from perspective to top view while in Play mode?
I have currently developed a project which is in First Person mode. It’s a retail store with all the walls, floor, ceiling and merchandise stands inside…
While exploring the store in First Person mode I need to be able to hit a keyboard key which will do two things:
Bring me to top down view of the store
Hide the ceiling and other view obstructing objects
The idea is the be left with just the walls, floor and all the merchandise stands inside. The goal is to be able to move the merchandise stands around later on.
That is a lot to ask, I know, so for now I need to find out how to switch views and hide the ceiling.
You should make 2 cameras in the character blueprint, and when you disable the first camera, you should automatically start seeing from the 2nd camera. As for hiding the ceilings, you could run a trace with multiple hits, and any static mesh it hits, make it invisible. I guess you could add the invisible meshes to an array so you can make it visible again at a later point (if you get out of the store or switch camera etc).