Table Of Content:

Table of Content
Table Of Content
../images/architecture/2024/door-overview/thumbs/03c.jpg
Overview
../images/architecture/2024/door-settings/thumbs/03.jpg
Settings
../images/architecture/2024/door-swap/thumbs/01c.jpg
Swap Actor
../images/architecture/2024/door-custom/thumbs/01.jpg
Customize
../images/architecture/2022/doorsv2/thumbs/01.jpg
[old] Doors UE5
../images/architecture/2022/doorsfaq/thumbs/01.jpg
Doors FAQ
../images/architecture/2020/doors/thumbs/01.jpg
Doors UE4 (V1)

Interactive Doors - Swap Actor

The swap actor is the bridge between a user interface and the interactive doors. It allows to change materials and door parts during a walkthrough.

Content:

Connecting Swap Actor with Door Blueprints

Game UI or Controller

Material Variations

Door and Frame Style

Mesh Changes

Connecting Swap Actor with Door Blueprints

MyProject / Content / DoorsBPV2 / Blueprints / BP_Doors_SwapActor

Place a BP_Doors_SwapActor next to a door blueprint into the same level as the door. Use the Eye Dropper icon to connect the door to the swap actor.

You can connect as many doors as you want. They will all change together.

> Variations
> BP Standard Doors Connect one or more standard door blueprints to this swap actor
Index [0] the first connected standard door blueprint
> BP Sliding Doors Connect one or more sliding door blueprints to this swap actor
Index [0] the frist connected sliding door blueprint
> BP Barn Door Connect one or more Barn door blueprints to this swap actor
> BP Custom Door Connect one or more custom door blueprints to this swap actor
Tag Use the same Tag name in the UI3 Variation Actor or a similar actor.

image

Game UI or Controller

The UI and the swap actor are connected with an Blueprint Interface

Hit play in the Examples level. You'll look at a door. Press the keys [ 0 ] [ 1 ] [ 2 ] on your keyboard. The door in front of you should change.

The image on the right shows a very simple way to interact with the swap actor. The nodes are in the Content / DoorsBPV2 / Blueprints / Other / BP_DoorController.

  1. All actors with the interface are collected (all swap actors) and the ID and Tag are sent.
  2. These are simple calling the above function with different IDs
  3. These nodes open the doors. More in the FAQs.

The function Change Variation to ID in the Swap Actor is executed and the variations are applied to the connected blueprints if the Tag is correct.

The ArchViz UI3 package available on the marketplace is ready to work with the Swap Actor.

image

Material Variations

All 4 Door Blueprint types can change materials.
  • Add a Material Variation array element
  • Choose the part(s) of the door
  • Add a Variations array element for each material ID to be changed
  • Then add the Materials. One for each Variation.

You can add multiple door and frame parts to be changed at the same time. The door material and the frame material could change together for example.

The image shows Handle Plates in the parts list twice by accident. It wouldn't hurt though.

image

Door and Frame Style

The style of the door and frame can be changed here. All door blueprint except the Custom Door Blueprint accept change.

The order of changes is the following

  1. Door and Frame Style
  2. Mesh Changes
  3. Material Changes

A mesh change will overwrite the style changes. The material will be changed at the end so it will overwrite all default materials.

image

Mesh Changes

All door blueprint except the Custom Door Blueprint accept the change.

There is no option to align doors, handles, or other parts, that are not included in the door blueprint package. You would need to position any custom made meshes the same way the original meshes are placed in your modelling software. See customise.

Read more in the Documentation for UI3

image
Top of page