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