Getting Started(Unity) - bhaptics/haptic-library GitHub Wiki

30 minutes Application Guide

1. Download bHaptics player and connect the gears (5min)

2. Download and import SDK (5min)

gif

3. Add [bHaptics] Prefab (5min)

Add the [bHaptics] Prefab to your scene.

[bHaptics] is located in Assets/Bhaptics/SDK/Prefabs

1

4. Add HapticSource (5min)

  • Add TactSource to the GameObject in the inspector
  • Then select the HapticClip you want to use.

2

  • You can test HapticClip files in the inspector. (in Assets/Bhaptics/HapticPatterns )

3

  • You can find over 200 different haptic feedback files/patterns here. Or you can make your own pattern using bHaptics designer.
Designer https://designer.bhaptics.com
Tutorial for designer https://youtu.be/Pyq9GHdchzc

5. Apply to your script by adding ONE LINE OF CODE (10min)

GetComponent<HapticSource>().Play(); 

4