godot-ios-plugins icon indicating copy to clipboard operation
godot-ios-plugins copied to clipboard

[WIP] Haptic engine plugin for enhance vibration

Open feelingsonice opened this issue 2 years ago • 3 comments

The default Input.vibrate_handheld method is generic and don't support granular control over iOS's haptic engine, which support additional parameters like intensity and sharpness.

This allows you to trigger vibration with .vibrate(duration, intensity, sharpness)

There's also additional features like creating dynamic vibrations (Apple doc) I plan to add here, but wanted to create this PR first and see if there's any interest.

TODOs

  • add README
  • add dynamic control

feelingsonice avatar Mar 03 '23 20:03 feelingsonice

This sounds great! Would use for sure.

djrain avatar Jun 23 '23 20:06 djrain

Is there any way we could get a release with the haptic engine uploaded? I cannot figure out how to compile it on my machine...

richardvanderdys avatar Jul 16 '23 08:07 richardvanderdys

I love it! Thank you very much! I was looking 4 days into this and finally got it to work thanks to your pull request! I hope this will be added at some point. If you have issues compiling look into this: https://github.com/godotengine/godot-ios-plugins/issues/47 And maybe this: https://github.com/LettucePie/ios-plugin-integrate-demo?tab=readme-ov-file

AstralTomate avatar Mar 17 '24 15:03 AstralTomate