Sliding Doors: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
                 <h3>Link Move Node 1 to first door</h3>
                 <h3>Link Move Node 1 to first door</h3>
                 <p><code>Act On → Door(1)</code></p>
                 <p><code>Act On → Door(1)</code></p>
            </div>
        </div>
        <div class="step">
            <span class="step-number">6</span>
            <div class="step-content">
                 <h3>Link Move Node 2 to second door</h3>
                 <h3>Link Move Node 2 to second door</h3>
                 <p><code>Act On → Door(2)</code></p>
                 <p><code>Act On → Door(2)</code></p>
Line 66: Line 60:


         <div class="step">
         <div class="step">
             <span class="step-number">7</span>
             <span class="step-number">6</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Open Move Node 1 attribute panel</h3>
                 <h3>Open Move Node 1 attribute panel</h3>
Line 76: Line 70:


         <div class="step">
         <div class="step">
             <span class="step-number">8</span>
             <span class="step-number">7</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Open Move Node 2 attribute panel</h3>
                 <h3>Open Move Node 2 attribute panel</h3>
Line 86: Line 80:
          
          
         <div class="step">
         <div class="step">
             <span class="step-number">9</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>Now, we want to add the reverse action when we exit the Box Trigger Volume</h3>
Line 94: Line 88:


         <div class="step">
         <div class="step">
             <span class="step-number">10</span>
             <span class="step-number">9</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place Move Node 3 and Move Node 4</h3>
                 <h3>Place Move Node 3 and Move Node 4</h3>
Line 102: Line 96:


         <div class="step">
         <div class="step">
             <span class="step-number">11</span>
             <span class="step-number">10</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Link Box Trigger Volume to Move Node 3 & Move Node 4</h3>
                 <h3>Link Box Trigger Volume to Move Node 3 & Move Node 4</h3>
Line 111: Line 105:


         <div class="step">
         <div class="step">
             <span class="step-number">12</span>
             <span class="step-number">11</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Link Move Node 3 to first door</h3>
                 <h3>Link Move Node 3 to first door</h3>
Line 121: Line 115:


         <div class="step">
         <div class="step">
             <span class="step-number">13</span>
             <span class="step-number">12</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Open Move Node 3 attribute panel</h3>
                 <h3>Open Move Node 3 attribute panel</h3>

Revision as of 13:01, 17 June 2024

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.

       

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 & Move Node 2

On Enter → Start

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

Now, we want to add the reverse action when we exit the Box Trigger Volume

Act On → Door(2)

           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 & Move Node 4

On Exit → Start

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