Forum Discussion
youder
2 years agoHonored Guest
Give me the code to get the acceleration information for Quest 2 HMD.
Can't get acceleration information for Quest 2 HMD ?
OVRDisplay.acceleration always returns (0, 0, 0). But, OVRDisplay.velecity returns correct values.
IMU for Quest 2 HMD should be measuring acceleration.
Velocity is obtained by integrating it ...
Give me the code to get the acceleration information for Quest 2 HMD.
Iβm using Unity 2022.3.13f1 , Oculus Integration 57.0.1.
_____________________________________________________________
OVRDisplay ovrDisplay;
Vector3 acc = ovrDisplay.acceleration; // return (0,0,0)
Vector3 velocity = ovrDisplay.velocity; // return correct values
_____________________________________________________________
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
- 2 years ago