Accelerometer for 2D water stimulation

Is there any way to control the 2d water stimulation by using the phone accelerometer/gyroscope? if u dont kno what i mean, it is something like ibeer.

Check out Unity - Scripting API: Gyroscope
Its data can be plugged into your water simulation.

1 Like