Answer the question
In order to leave comments, you need to log in
How to make VR game for phone without gyroscope (Unity)?
I made a VR game for android, nothing unusual, just move your head, and there is a cube in front of us. I forgot that I don’t have a gyroscope on my phone, and I can’t play VR games .. I downloaded it to my phone, and the camera just doesn’t move. I know the game VR Thrills: Roller Coaster 360 (Cardboard Game), it works just fine on my phone. And how can I implement the same thing in my project so that the game works even if the phone does not support VR, maybe there is some kind of plugin? Or a script? Or do something in the settings? Help, I really need
Answer the question
In order to leave comments, you need to log in
There are different types of sensors:
* gyroscope (gyro sensor) - determines the position
* accelerometer (g-sensor) - determines the acceleration
In principle, if there is no gyro sensor, it can be emulated based on the accelerometer, but you need to understand that the accuracy will be low and 'ground 0' will run away , i.e. turning back and forth, the acceleration-based algorithm will not show the same point as it was originally ... and the error will accumulate more and more over time.
You can try to make a correction based on other sensors, such as magnetic. or even a camera to shoot bright light sources and make corrections based on them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question