Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (33 loc) · 2.83 KB

README.md

File metadata and controls

56 lines (33 loc) · 2.83 KB

Unity Example Projects

This repo includes additional Unity projects which demonstrate functionality of the Ultrahaptics Core Asset (UCA) for Unity.

Note: To use these examples, you must download and import the latest UCA .unitypackage from here

These projects have been built and tested with Unity 2019.1-2.x on Windows 64-bit. macOS is not currently supported with these examples. Please contact [email protected] if you'd like to register interest in a macOS build.

To use these examples:

  1. Launch Unity, select Open Project and open the UnityExamples Project
  2. Import the UltrahapticsCoreAsset .unitypackage.

The UnityExamples Project includes the following Example Scenes

  • Bubbles - demonstrates how to trigger a Sensation when an animated bubble collides with the hand.

  • ButtonAndSlider - demonstrates how mid-air haptic controls (push button and slider) controlled via the hand, can be enhanced with haptic feedback.

  • HandPolylineDesigner - demonstrates how to use Polyline to design haptic paths which trace features of the hand.

  • HapticPathDrawing - demonstrates how to move a sensation along a path drawn using mouse input.

  • MultiArrayLeftRight/MultiArrayUpDown - demonstrates a couple of examples for using multiple Ultrahaptics Devices, using the SDK's "Distance-Based" device selection mode.
  • PinchInteraction - demonstrates a custom Data Source to recognise a basic pinch pose interaction
  • PushButtons - demonstrates a number of 3D push buttons for survey style feedback.

  • SensationExplorer - provides a showcase of Sensation-Producing Blocks in your project.

  • SimpleShapes - demonstrates the ProjectPathOntoPlane Block, to produce simple haptic interaction with Cube, Sphere and Cylinder geometry.

  • Sphere - demonstrates a Sphere Sensation Block - touch the moon!
  • TouchBlock - demonstrates how to position and animate a Sensation based on the position of a Cube.
  • TrackingOriginSetup - demonstrates how to update the Tracking origin at runtime via a StreamingAssets/TrackingOrigin.json file.
  • UltrahapticsPoster - demonstrates how to design an interactive poster. When the hand touches the orb a 'Lightning' haptic is triggered with audio and visuals.

  • VRArrayAlignment - demonstrates how to align/anchor an Ultrahaptics array for VR applications. Point the controller at the origin of the array, then click the trigger to transform the camera Rig.
  • Wayfinder - demonstrates basic horizontal and vertical navigation with the palm.