Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Graham on May 30, 2014, 10:02:47 AM

Title: Custom Vibration Length
Post by: Graham on May 30, 2014, 10:02:47 AM
I am aware that Playmaker comes with a DeviceVibrate action, however it vibes for 0.5 seconds. Is it possible to control the length of vibration inside the action?
Title: Re: Custom Vibration Length
Post by: jeanfabre on May 30, 2014, 10:42:34 AM
Hi,

 it certainly depends the phone. I am think last time I checked, they had a strict policy with vibrations, and you could get rejected from the app store if you'd abuse it.

On top of that, I think Unity wrapps the calls and do not offer much control unfortunatly. within XCode you can create vibrating patterns, but that's already native coding and all.

 If you can find a unity script or something that does control vibration, let me know, I'll have a look if that's doable as a PlayMaker Action.

 Bye,

 Jean
Title: Re: Custom Vibration Length
Post by: Graham on May 30, 2014, 11:38:52 AM
Cool, thanks Jean.