Open feelingsonice opened 1 year ago
This sounds great! Would use for sure.
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...
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
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