From the course: Unity: Building VR User Interfaces

Unlock the full course today

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

Haptic feedback

Haptic feedback - Unity Tutorial

From the course: Unity: Building VR User Interfaces

Start my 1-month free trial

Haptic feedback

- All right, so we've made a palette UI. We've added some really useful functionality to it, and we've taken a look at some of the effects of using anti-aliasing and render scale in your project. It's time to add a little bit more feeling. We're going to add some haptic feedback on our controllers to let us know when we are mousing over, or clicking on one of these buttons. To do this we're going to use a script I wrote. So let's navigate over to the exercise file for this video. Here in folder O four O seven, we've got the assets folder. We want to double click on that, and drag in the input haptic script, into the events folder. Back in unity, we're now going to apply this script to all of our buttons. This is going to trigger a haptic event, and I'm going to put that haptic event on the left hand side, on the left hand controller, so that we have a general understanding of where our pointer is and kind of what it's…

Contents