Sliding Doors: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
No edit summary
m Protected "Sliding Doors" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page shows you how to use Move Node with objects and triggers. You can apply the same principles with different types of triggers, interactions and switches.
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.
<div style="background-color: #050522; float: right; width: 800px;  margin-right: 0px;">
<div style="background-color: #050522; float: right; width: 800px;  margin-right: 0px;">
<div class="video-container">
<div class="video-container">
Line 83: Line 83:
             <span class="step-number">8</span>
             <span class="step-number">8</span>
             <div class="step-content">
             <div class="step-content">
                <h3>Now, we want to add the reverse action when we exit the Box Trigger Volume</h3>
<h3>The doors now will slide open when we enter the Box Trigger Volume</h3>               
                <p><code>Act On → Door(2)</code></p>
<h3>We need to add the reverse action when we exit the Box Trigger Volume</h3>
             </div>
             </div>
         </div>
         </div>
Line 129: Line 129:
             <div class="step-content">
             <div class="step-content">
                 <h3>Open Move Node 4 attribute panel</h3>
                 <h3>Open Move Node 4 attribute panel</h3>
                 <p>In our example, we want to reverse the 1.5 Y axis movement</p>
                 <p>In our example, we want to reverse the -1.5 Y axis movement</p>
                 <p>On the Y axis change the value to 1.5</p>
                 <p>On the Y axis change the value to 1.5</p>
             </div>
             </div>
         </div>
         </div>

Latest revision as of 16:45, 17 June 2024

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