Input

On this Page

This guide describes Unity input features supported by the Oculus integration.

Oculus Touch

We have provided several resources and samples to help get you started using Oculus Touch .

OVRInput, our unified input API for interacting with Touch, is included with our Utilities for Unity package. See OVRInput for more information.

The Oculus Avatar SDK, includes a Unity package to assist developers with implementing first-person hand presence for the Rift and Touch controllers. It includes avatar hand and body assets viewable by other users in social applications for Rift and Gear VR. The first-person hand models and third-person hand and body models supported by the Avatar SDK automatically pull the avatar configuration choices the user has made in Oculus Home to provide a consistent sense of identity across applications. The SDK includes a Unity package with scripts, prefabs, art assets, and sample scenes. For more information, see our Avatar SDK Developer Guide.

Our Unity Sample Framework includes samples demonstrating important Touch functionality. For example, the AvatarWithGrab sample uses the Avatar SDK and the scripts OVRGrabber and OVRGrabbable to add the ability to pick up and throw objects in the scene to the Avatar hand assets. The DistanceGrab sample demonstrates a method for interacting with and grasping distant objects in a scene. See Unity Sample Framework for more information.

Oculus Utilities for Unity, Avatar SDK, and Unity Sample Framework are available with our Oculus Integration on the Unity Asset Store, or from our Downloads page.

For more useful recommendations, have a look at the Oculus Developer Blog for several relevant posts.