0

Hello I have found that Unity3D does not give support for gyroscope on Android and at the same time there are apps using it. I would like to know if anyone has a plugin to make it work or has any idea of how to make this. My plan is making the camera rotate at the same rate as the phone.

Thanks

Lex Li
  • 60,503
  • 9
  • 116
  • 147

2 Answers2

3

there is no gyroscope in samsung android devices u can use accelerometer instead. To use accelerometer use Input.acceleration.x / y / z whichever u need.

Nick
  • 1,035
  • 1
  • 11
  • 18
  • Galaxy Note 3 has gyroscope. SystemInfo.supportsGyroscope returns true. And don't forget to enable gyroscope Input.gyro.enabled = true; And, optionally, set the update interval to it's highest value (0.0167f) Input.gyro.updateInterval = 0.0167f; – Deepscorn Aug 24 '16 at 12:08
1

You can use the GyroDroid plugin.

Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288