June 2017
Beginner to intermediate
336 pages
8h 44m
English
Once the GazeManager class and Cursor is in place, the next step is to identify the gaze able objects. As part of the requirement for this project, we discussed highlighting the Lenses and Speaker. To gaze at an object, the very first thing you need to do is add a Box Collider to the object. The Box Collider is one of the basic collision primitives in Unity. The ray can happen on the basis of the Collision on the object that you are looking at.
Our objective is to gaze on the Lenses and left-side speaker. So, our first job would be identifying them from Object Hierarchy and then adding Box Collider components.
Read now
Unlock full access