This scene explores connections to Mecanim graphics. Learn how to prepare a script file for handling object interactions.
- [Narrator] In the previous movie, … we created the interact objects script … which we attached to the door. … And this script can be attached … to many different types of interactive objects … and it's purpose is to change their color … to highlight them and indicate they're the kind … of thing we can click on to initiate a response. … But of course we still have the functionality itself … that needs to figure out … when are we close enough to a highlight? … When are we close enough to an interactive object … that we can initiate it's behavior? … To code that functionality, … we're going to make a new and separate script file. … I'm going to bring back the assets … to import folder included inside the exercise files. … And the file in particular … is the object selector.csharpscript. … I'm going to drag and drop that into the project. … This script should be attached to the player camera … or the viewer's camera. … It's purpose is to figure out when we're near enough … and facing an interactive object. …
Skill Level Intermediate
Unity: AR Visualization 01 Basic Conceptswith Roger Miller1h 59m Intermediate
Unity: AR Visualization 02 Basic Interactivitywith Roger Miller2h 39m Intermediate
Cert Prep: Unity Scripting and Publishingwith Alan Thorn2h 3m Intermediate
1. Configuring an Architectural Visualization Scene
2. Area-Based Interactions
3. Doors and Object Interactions
4. Camera Controls
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.