Cardboard VR Leap by dannisliang - 6

InputsVR & ARAnalytics

Unity project demonstrating desktop VR with hand tracking using a smartphone as display and gyro input. Uses TrinusVR + OpenTrack for head tracking, plus Leap Orion (for Oculus) for hand tracking.

Unity 5.3.2f1Unknown LicenseUpdated 3 years agoCreated on April 21st, 2016
Go to source

CardboardVR-Leap

Unity project demonstrating VR using TrinusVR + OpenTrack Redirect, plus Leap Orion (for Oculus) for hand tracking.

This works great for testing VR/AR experiences without expensive hardware (looking at you Oculus).

UDP receiver, Head tracking script, and example scene is forked from: https://github.com/marcteys/unityFaceTracking

Setup and Debugging

  1. Install TrinusVR on your desktop and Android device: http://trinusvr.com/
  2. Open the Unity project and import the core leap assets: https://developer.leapmotion.com/unity?id=unity5-core-assets
  3. Open the MainScene
  4. Start TrinusVR, load the configuration file TrackingConfig\TrinusVR\default.cfg
  5. Adjust inversion and sensitivity settings, and ensure Sensor Output is set to OpenTrack Redirect
  6. Start TrinusVR app on the Android device, and connect the desktop application
  7. Build & Run!

Implementing Head Tracking

To implement head tracking in an existing project, simply add the Client script to your scene, then the FaceTrackMovement script to your camera.

Implementing Leap Hand Tracking

Add the Leap VR Camera Control script to your camera, then add the LeapSpace prefab as a child to your camera (or simply copy it from one of the example scenes).

Troubleshooting

If you start the demo by looking at the ground or sky, adjust the Yaw Compensation in the FaceTracking script. You may also need to adjust the inversion and sensitivity in TrinusVR’s Sensors tab.

Show all projects by dannisliang