Forum Discussion
Anonymous
5 years agoHeadset angular velocity is always reported as 0
This has been verified with Oculus OpenXR runtime version 1.58.0.
To get the headset angular velocity, I use code like in the following snippet:
XrSpaceVelocity velocity = { XR_TYPE_SPACE_VELOCITY };
XrSpaceLocation location = { XR_TYPE_SPACE_LOCATION };
location.next = &velocity;
XR_CHECK(xrLocateSpace(viewSpace, localSpace, displayTime, &location));
This works as expected with both the WMR and Valve OpenXR runtimes. With the Oculus runtime, however, velocity.angularVelocity always contains {0,0,0}, despite the XR_SPACE_VELOCITY_ANGULAR_VALID_BIT flag being correctly set in velocity.velocityFlags.
1 Reply
- johnkearneyMeta Employee
Thanks Anonymous !
I'll make sure that a fix for this goes out ASAP.
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
- 5 years ago
- 10 months ago