Haptics Unity SDK Overview
The Interhaptics Unity SDK provides a complete framework for implementing high-definition haptic feedback in Unity projects across multiple platforms and devices. This powerful toolkit allows developers to create immersive haptic experiences with minimal code while maintaining cross-platform compatibility.
Key Features
- Cross-Platform Support: Deploy haptic experiences across mobile, console, PC and VR/XR platforms
- Multiple Integration Methods: Use no-code components or direct API calls based on your needs
- Rich Haptic Effects Library: Access pre-made haptic patterns or create custom ones
- HD Haptics Support: Utilize advanced haptic capabilities of modern devices
- Simple API: Implement complex haptic interactions with minimal code
Documentation Sections
Getting Started with Unity SDK
Learn about SDK compatibility, requirements, installation process, and available integration methods. This section covers the fundamentals of implementing haptics in Unity with the Interhaptics SDK, including basic concepts and component setup.
API Usage
Explore the comprehensive Interhaptics API for programmatic control of haptic feedback. This section details the HAR class methods for controlling vibrations, transients, amplitudes, pitch, and other haptic parameters through code.
Razer Sensa™ HD Haptics Setup
Set up high-definition haptic feedback for Razer Sensa devices, including configuration requirements and implementation examples. Learn how to leverage Razer's advanced haptic hardware capabilities in your Unity projects.
Mobile Setup (Android | iOS)
Configure your Unity project for mobile haptics implementation on Android and iOS devices. This section covers platform-specific settings, CoreHaptics integration for iPhone, and Android vibration API usage.
OpenXR Setup
Implement haptic feedback for OpenXR-compatible VR/XR devices. Learn how to set up the OpenXR environment and configure haptic components for cross-platform XR haptic experiences.
Meta Quest Setup
Configure haptics specifically for Meta Quest VR headsets and controllers. This section guides you through the setup process for implementing haptic feedback on Meta's popular VR platform.
GameInput / XInput Setup
Set up haptic feedback for GameInput and XInput compatible controllers on PC. Learn how to configure input settings and implement haptic effects for standard game controllers.
PS5 Setup
Implement advanced haptic feedback for PlayStation 5 DualSense controllers. This section covers SDK requirements, installation steps, and implementation details for PlayStation's advanced haptic capabilities.
Nintendo Switch Setup
Configure haptic feedback for Nintendo Switch Joy-Con controllers. Learn about requirements, SDK access, and implementation steps for Nintendo platforms.
Mobile Legacy Setup (up to 1.0.7 – deprecated in 1.3.0)
Reference guide for developers still using legacy mobile integration tools. Note that this implementation has been deprecated since version 1.3.0 of the Interhaptics SDK.
Implementation Methods
The Unity SDK offers multiple approaches to implement haptic feedback:
- Component-Based: Use ready-made components like EventHapticSource, SpatialHapticSource, and AudioHapticSource for no-code implementation
- API-Based: Leverage the HAR class methods for direct programmatic control
- Haptic Presets: Use predefined haptic patterns for common scenarios
- Parametric Effects: Create dynamic haptic patterns with precise control over amplitude, frequency, and timing
Get started with the Interhaptics Unity SDK today to enhance your games and applications with sophisticated haptic feedback across all major platforms!