From the course: Unity: Architectural Visualization Interactivity

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Completing triggers

Completing triggers - Unity Tutorial

From the course: Unity: Architectural Visualization Interactivity

Start my 1-month free trial

Completing triggers

- [Narrator] In the previous movie we created our action triggers script. This is a really important script because it's going to allow us to play our message animation when the player or when the viewer that's when the first person controller walks into a particular area of the lobby, let's get started at doing that. The first thing I want to do is to be able to mark out a region within the lobby that the viewer needs to step into. I can do that using triggers. I'm going to start by creating a new empty object by choosing game object create empty, to add an empty object to the scene. I'm simply going to call this lobby region by rename it here from the hierarchy panel. Then I'm going to position this object into the level maybe around about here, just so that it's in front of the player here or the viewer. I'm going to select lobby region and from the inspector click on the add component button. And I'm going to…

Contents