Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.67 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.67 KB

A Vive SRWorks Hand Interaction example for Unity

screenshot

The example scene included shows how to occlude and interact with virtual objects (a sphere and a cube) with your hands.

  • In this example, by default the occlusion is using a depth mask (you can enable/disable it in the Manager object)

  • You can also view the hand's mesh instead of the occlusion depth mask by enabling it in the Manager object:

Manager

  • To slap/punch (without going through the object) enable the HandRacketCollisionObj in the scene (you can optionally make it visible by enabling the Mesh Renderer on it)

CollisionObj

Requirements:

  • VIVE Pro (make sure cameras are enabled and working in settings)
  • ViveSRWorks Unity package: Vive-SRWorks-0.7.5.0-Unity-Plugin.unitypackage or later versions. Download the latest VIVE SRWorks SDK from: http://developer.vive.com/resources

UPDATE:

Note 1: tested on Unity 2018.2.16f1 Earlier versions of Unity had prefab issues on importing so the unity package was updated using 2017.4 but can be updated to Unity's latest release version.

Note 2: as of SRWorks v0.8.0.2 the ViveSR prefab requires you to enable the modules you will be using as shown:

ViveSR