Forum Discussion
Gnimmel
7 years agoStart Member
Can't get the accelerometer to work on Oculus Go, but works fine on Gear VR?
I have a game on the store called Jogger which uses the accelerometer to detect for when someone is jogging on the spot to move forward. This has been on the store for over a year now and works gre...
sara_hanson_123
7 years agoExplorer
Hey y'all,
I managed to get a reading with adb logcat on the angular acceleration by instantiating an OVRDisplay:
OVRDisplay display = new OVRDisplay();
float temp = display.angularAcceleration.y;
Debug.Log(temp);
For acceleration just change temp, like so:
float temp = display.acceleration.y;
Otherwise, my question is about the angular acceleration/acceleration scale, and I thought everyone here may find the question useful as well: what are the units for these readings? @imperativity
Best of luck.
I managed to get a reading with adb logcat on the angular acceleration by instantiating an OVRDisplay:
OVRDisplay display = new OVRDisplay();
float temp = display.angularAcceleration.y;
Debug.Log(temp);
For acceleration just change temp, like so:
float temp = display.acceleration.y;
Otherwise, my question is about the angular acceleration/acceleration scale, and I thought everyone here may find the question useful as well: what are the units for these readings? @imperativity
Best of luck.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 years ago
- 4 years ago
- 1 year ago
- 3 years ago
- 6 years ago