Impulse Vibrations for iOS and Android (aka Haptic or Taptic Feedback) View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2019.4.17 or later
Package size
517 KB
Files
26
Favorites
13
Views in the past week
19

Price tracking

Last checked
Tracked since
Lowest recorded
$5.00 on

Keywords

Impulse Vibrations for iOS and Android (aka Haptic or Taptic Feedback)

by HyperFlex Digital (opens in new tab)

4.3 / 5 · 3 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 2
4 stars 0
3 stars 1
2 stars 0
1 star 0
Price $5.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Impulse Vibrations for iOS and Android (aka Haptic or Taptic Feedback), 6 months Current $5.00; lowest $5.00; highest $5.00 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 1

Impulse Vibrations for iOS and Android (aka Haptic or Taptic Feedback) screenshot 1

Impulse Vibrations for iOS and Android (aka Haptic or Taptic Feedback) screenshot 1

About this asset

Impulse Vibrations for iOS and Android (aka Taptic or Haptic Engine)

Impulse Vibrations is providing bridging between mobile haptic vibration API's and Unity3D Engine. Basically, it's an wrapper around UIFeedbackGenerator [iOS], Vibrator [Android], and View#performHapticFeedback() [Android].

Unlike most of the other Unity plugins, this will not provide you a common interface for each platform. Yet, it will give you more control over the code as a developer!

OS/Device Support
- Support iOS 10+ starting from iPhone 7 to the latest model/OS
- Supports all Android versions

Features
- Example Unity scene to test the API.
- Has safe to use API, it checks the OS versions and fallbacks in some cases.
- It has one line easy to use integration.
- iOS Taptic Engine support with `UIFeedbackGenerator` class.
- Android `Vibrator` class support.
- Android `View#performHapticFeedback()` class support for starting from SDK level 26.
- API documentation and Comments above the functions
- All of the source code included, so it's open for extend.

iOS API
- UISelectionFeedbackGenerator
- UIImpactFeedbackGenerator (light, medium, heavy, rigid, soft)
- UINotificationFeedbackGenerator (success, warning, error)

Android API
- HapticFeedbackConstants
- Vibrate with VibrationEffect (long milliseconds, int amplitude = -1)

Important Note
- Don't forget to add the `using ImpulseVibrations;` line on the top of your class.
- Some Android devices doesn't support all of the Haptic Feedbacks.
- Taptic Engine and Vibrations will only work on the physical device. So consider the test this feature on the real device instead of Unity Editor.

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2023.2.19f1 Compatible Compatible Compatible Compatible
2019.4.17f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.