Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Getting Started(Unity)

Sangwon Choi edited this page May 29, 2020 · 6 revisions

1 hour Application Guide

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

2. Download and import SDK (5min)

3. Add [bHaptics Manager] Prefab (4min)

Add the [bHaptics Manager] Prefab to your scene.

[bHaptics Manager] is located in Assets/bHapticsManager/Prefabs

img

4. Add TactSource (5min)

Add TactSource to the GameObject in the inspector You can select FeedbackType in the inspector

5.1 FeedbackType(DotMode, PathMode) [10min]

Specify position, motors to be vibrated and duration in milliseconds.

image

5.2 FeedbackType(TactFile) [10min]

Specify tact file(generated from bHaptics Designer)

Duration Multiplier: change duration of haptic feedback dynamically.

Intensity Multiplier: change intensity of haptic feedback dynamically.

Angle(X) and Offset(Y): change location of haptic feedback dynamically. This allows you to make only one tact file effect and then reuse it at any location. Only for the Tactot.

image

Apply to your script by adding ONE LINE OF CODE (1min)

GetComponent<TactSource>().Play(); 

Download and Select sample haptic files (15 min)

  • Download haptic patterns example files containing over 200 haptic patterns.
  • Select and Download the best patterns for your game.

https://codeload.github.com/bhaptics/haptic-guide/zip/master

If you still can’t find best haptic patterns from the library, you can click and drag to make your own pattern using bHaptics designer.

Link https://designer.bhaptics.com/ 

Tutorial https://youtu.be/Pyq9GHdchzc