Hololight Stream for Unity core component - Haptics
Haptics
Haptics are a type of user feedback that create the sensation of touch through vibrations. Hololight Stream supports haptics through the Unity Input Subsystem.
Setup
For information on how to set up haptics, check out:
-
Unity’s documentation on HapticCapabilities.
-
Unity’s documentation on Simple Haptic Feedback using the XR Interaction Toolkit.
-
Microsoft’s documentation on IMixedRealityHapticFeedback Interface in Mixed Reality Toolkit 2.
Buffered and non-buffered haptics
Using the input system, you can send non-buffered, or impulse, haptics and buffered haptics. Non-buffered haptics are simple to send, allowing you to define frequency and amplitude. However, there is quite a bit of latency. Buffered haptics are faster and you can set far more complicated vibration patterns.
For more information, check out Unity’s documentation on InputDevice.SendHapticImpulse and InputDevice.SendHapticBuffer.
Meta Haptics
Hololight Stream also supports ".haptic" files created by Meta Haptics Studio. You can import files exported from Meta Haptics Studio to Unity.
For more information on haptics and Meta Quest devices, check out Unity’s article, Haptics Overview.