Sliding Doors

From EVERYWHERE wiki
Jump to navigation Jump to search

This page shows you how to use Move Node with objects and triggers to create sliding doors. You can apply the same principles with different types of triggers, interactions and switches.

       

Required Nodes & Objects:

1x Box Trigger Volume

4x Move Node

2x Doors (to create a sliding door)

           1

Place Box Trigger Volume

This will trigger linked nodes when a player steps in / steps out its volume. You can adjust the scale of it to make sure it covers the designated area.

           2

Place Move Node 1

This node provides movement component to the attached object. This will open one side of our door.

           3

Place Move Node 2

This node provides movement component to the attached object. This will open the second side of our door.

           4

Link Box Trigger Volume to Move Node 1

On Enter → Start

Link Box Trigger Volume to Move Node 2

On Enter → Start

           5

Link Move Node 1 to first door

Act On → Door(1)

Link Move Node 2 to second door

Act On → Door(2)

           6

Open Move Node 1 attribute panel

In our example, we want to move the door sideways, that will be our Y axis

Next to Translation, there are three sliders for each axis in this order: X, Y, Z

On the Y axis change the value to 1.5

           7

Open Move Node 2 attribute panel

In our example, we want to move the door sideways, that will be our Y axis

We want this one to go in the opposite direction, so we give the negative value to Move Node 1

On the Y axis change the value to -1.5

           8

The doors now will slide open when we enter the Box Trigger Volume

We need to add the reverse action when we exit the Box Trigger Volume

           9

Place Move Node 3 and Move Node 4

These nodes will move the doors back to their original position when we exit the trigger volume.

           10

Link Box Trigger Volume to Move Node 3

On Exit → Start

Link Box Trigger Volume to Move Node 4

On Exit → Start

           11

Link Move Node 3 to first door

Act On → Door(1)

Link Move Node 4 to second door

Act On → Door(2)

           12

Open Move Node 3 attribute panel

In our example, we want to reverse the 1.5 Y axis movement

On the Y axis change the value to -1.5

           14

Open Move Node 4 attribute panel

In our example, we want to reverse the -1.5 Y axis movement

On the Y axis change the value to 1.5