Menu
Lumberyard
Getting Started Guide (Version 1.11)

Adding the Entry Door

In this tutorial, you'll create an entry door and add components that make it act solid and open upon approach.

To set up your entry door, you do the following:

  1. Place the door entity.

  2. Add the physics and collider components to the door.

  3. Create a trigger volume.

  4. Add scripts to the entry door entity to do the following:

    • Trigger an event upon exit and another event upon entry.

    • Change the position of an object and link it as the entry event.

    • Change the position of an object and link it as the exit event.

  5. Define the door as the target object for the Lua scripts.

  6. Add realism by connecting sounds to the door's opening and closing events.

Next: Placing the Door Entity