- Home /
Unity 3.4 Gyroscope support not there?
There is probably something I am just missing, but, after I downloaded Unity 3.4 and went to start working on a gyroscope test (turn the camera using the gyroscope) I found that the gyroscope Input which I found in the Script Reference here:
http://unity3d.com/support/documentation/ScriptReference/Gyroscope.html
...was not working. Or, in other words, unity didn't recognize the gyroscope input as a type of Input.
I also didn't find anything helpful. If anyone could give me any more information on this that would be great.
Thanks.
Answer by Dreamora · Aug 08, 2011 at 03:46 AM
On what did you test it?
Gyroscope support is there but won't work on the remote for example, only the physical device.
And its iOS only (which means iPhone4, iTouch4 and iPad2, the rest has no gyro)
Yes, I found out that and also just a line of my code was wrong.
$$anonymous$$y Galaxy Tab and HTC Wildfire have gyro, but it doesn't work on them.
Its iOS only as you hopefully read in the changelog. Android is slowly and only recently rolling out with gyro while iOS had it since last autumn on all 4th gen devices
Unless you know of other droids than me, you don't have it. You potentially mix it with accelerometer which is available and works on Android too without a problem. Gyro has been rolled out since early last year when they finally became small and payable enough for mass usage (the wii remote extensions, ps3 move and then mobiles as the last in line)
Answer by fherbst · Sep 06, 2011 at 04:04 PM
For Android, you can use Prefrontal Cortex' plugin, which provides access to all sensors Android has to offer.
Forum link: http://goo.gl/8ZIM7
Your answer
Follow this Question
Related Questions
What is Input.gyro.attitude exactly? 0 Answers
Detect Gyroscope's rotation around a single axis? Like a car game. 0 Answers
How to get the value of the an angle of the Gyroscope? 1 Answer
Why Wiimote (or Glovepie, or Unity3D...) pull in the above-left corner ? 0 Answers
detect 360 spin on mobile device 1 Answer