Create 3rd person game mode, tick starter content
File → New Level → TimeOfDay
→Clear the Mesh not needed in scene
Click Landscape icon on top
→ set Z location: 0 → Create
Click back to Editing mode (1st icon)
image.png
Choose Landscape layer in World Outliner
→ Details, → Landscape Material, drag M_Ground Grass (from Content browser) in it
Change the following setting (optional, for snapping, degree and scale size):
image.png
Go to Content → StarterContent → Architecture
Drag each of 400x400 of Floor, Wall, Wall door, and Wall Window in scene
drag the floor up, (hit End button in keyboard to snap it on the ground level)
→ hold Alt to duplicate the floor until the needed floor plan is made
Repeat the same step to build the wall
Replace wall with window → R click → replace selected actor with (choose wall window mesh)
Select all floor mesh, duplicate and drag up to become ceiling

Import floor plan image:


In Content Broswer → R click → Import to Game..
→ R click on the imported floor plan, Create Material
→ create and drag a plane in scene, place material on

Create a Door blueprint:


YouTube icon
How To Create A Door (Blueprint) - Unreal Engine 5 Tutorial
Content →Starter Content → Props → Doors
R click → Blue print class→ actor → name as doorBP, open it
Drag the door mesh in Viewport → add Box collision (scale and move to fit the box on the door)
Still on Box collision → Details → click green box On Component Begin Overlap
Set the graph as follow:
image.png
(Doortimer renamed by node Add Timeline → double click on it
→ Add float track (1st icon) ,name as Doortimer
image.png
Hold shift and click to create keyframe on the timeline 0 (time),0 (value), add 2nd keyframe at timeline 1,1
image.png
Back to event graph, drag SM door from component to the graph, and create SetRelativeRotation node →
R click on New Rtotation → Split struct pin :
image.png
Add a multiply node, set as 90 value, connect the graph as below:
image.png
Drag the BP door mesh in the scene, the door will open when the character pass through
To make the door close after open:
Add also On Component End Overlap green button in Details of Coliision box
→ Connect the graph as below:
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.