Download

Device Shake

Hi All,

Have searched around but can’t seem to find a node in blueprints that would help me find out if a player shook their device, (preferably Android and Apple), could anyone point me to even a start point on this?

Thanks for any help

You can use the Get Input Motion State node in Blueprint. Store the values and on a timer event sample them and compare to see if they change quickly to see if device was shaken.