This guide contains steps on how to install and integrate the bhaptics tactile vibration SDK into a Unity project using bHaptics developer. This allows sending tactile feedback to bhaptics devices inside a Unity Project. This guide will use bhaptics Tactgloves as an example, however, the steps should work with all bhpatic devices.
Download bHaptics player at the following link: https://www.bhaptics.com/software/player. Once installed, Login and follow setup instructions. Within the player, you can pair your devices as instructed by the manual associated with the bhaptic tool you plan to connect. In the case of Tactgloves, this is done via turning them on and pairing them under the device settings in bhaptics player. Once paired, can test the device by pressing ping. This should send a haptic signal given that pairing worked correctly.
This will link your bhaptics template to your unity project. It will show you documentation you can use to develop your haptic effects and how to combine them.
BhapticsManager
object (menu: bhaptics > Bhaptics Manager)BhapticsReceiver
object (menu: bhaptics > Bhaptics Receiver) To send haptic feedback call:
BhapticsManager.instance.SubmitRegistered(“HapticKey”, position, intensity);
The bhaptics SDK is now integrated into your Unity project. You can send haptic feedback to bhaptics devices by calling the SubmitRegistered()
method. Refer to the bhaptics documentation for more advanced usage.