Getting Started Guide (Version 1.15)

Adding the Entry Door

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn more about legacy features, see the Amazon Lumberyard Legacy Reference.

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