Interhaptics Interhaptics
  • Tech 
    • Haptic Composer 
    • Interhaptics Engine & SDK 
    • How Interhaptics works 
    • Haptics 
  • Ecosystem 
  • Company 
  • Documentation 
  • Contact 
  • Blog 
  • Discord 
Download
Interhaptics Interhaptics
Download
Interhaptics
  • Tech 
    • Haptic Composer 
    • Interhaptics Engine & SDK 
    • How Interhaptics works 
    • Haptics 
  • Ecosystem 
  • Company 
  • Documentation 
  • Contact 
  • Blog 
  • Discord 

Interhaptics Unity SDK

  • folder icon closed folder iconGetting Started with Unity SDK
  • folder icon closed folder iconHow haps Renders On Each Device
  • folder icon closed folder iconInterhaptics Mobile SDK
  • folder icon closed folder iconInterhaptics XR SDK
  • folder icon closed folder iconTroubleshooting
loading
Popular Searches:
  • Haptic Composer
  1. Home
  2. Interhaptics Unity SDK
  3. Interhaptics XR SDK
Updated on January 23, 2023

Docy

Interhaptics Unity SDK

  • folder icon closed folder open iconGetting Started with Unity SDK
  • folder icon closed folder open iconHow haps Renders On Each Device
  • folder icon closed folder open iconInterhaptics Mobile SDK
  • folder icon closed folder open iconInterhaptics XR SDK
  • folder icon closed folder open iconTroubleshooting

Interhaptics XR SDK

Estimated reading: 2 minutes 278 views

Step 1: Setting up the Interhaptics Core SDK

  • The Interhaptics Core SDK can be installed via the Unity Package Manager as described in the documentation. 

Step 2: Adding GameObjects for Custom Haptics

  • Create an empty GameObject for the HapticManager, which can be set to be persistent if desired.
  • Add HapticBodyPart components to the XR Rig, one for each controller. Set the Body Part to Hand and the correct orientation.
  • Create a normal GameObject, such as a cube, to act as a trigger for haptic feedback.
  • Add a SpatialHapticSource component to the trigger GameObject, where offsets for Haptic Material can be set (e.g. a 2-second delay for vibrations).

Step 3: Adding Haptic Materials

  • The Interhaptics SDK package includes over 30 haptic materials with accompanying audio, which can be selected for use.
  • Custom haptic materials can also be imported and used, created with the Haptic Composer.

Step 4: Testing

  • Press play in Unity and touch the collider to trigger haptic feedback.

Refer to the provided video tutorial for further guidance.

Also See

Interhaptics XR SDK Tutorial

Still stuck? Come to our Discord and we will help you out!

Leaf Illustration

Interhaptics. Copyright © 2022 Go Touch VR SAS. All rights reserved.