cancel
Showing results for 
Search instead for 
Did you mean: 

Give me the code to get the acceleration information for Quest 2 HMD.

youder
Honored Guest

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

_____________________________________________________________

0 REPLIES 0