Forum Discussion
Anonymous
9 years agoOVRManager.display.velocity returns Vector3 = 0,0,0
I am developing a game in Unity using Oculus Utilities, and I want to retrieve the HMD velocity.
When I use the following line of code, the resulting Vector3 value is always zero:
hmdVelocity = OVRManager.display.velocity;
What is possibly happening?
My Oculus Rift CV1 works flawlessly in games and tracks correctly in Unity editor.
I am using Unity v2017.1.1f1, Oculus Utilities v1.18.1, OVRPlugin v1.18.1, SDK v1.19.0.
Thank you for your help!
Leo
When I use the following line of code, the resulting Vector3 value is always zero:
hmdVelocity = OVRManager.display.velocity;
What is possibly happening?
My Oculus Rift CV1 works flawlessly in games and tracks correctly in Unity editor.
I am using Unity v2017.1.1f1, Oculus Utilities v1.18.1, OVRPlugin v1.18.1, SDK v1.19.0.
Thank you for your help!
Leo
2 Replies
Replies have been turned off for this discussion
- AnonymousThank you imperativity, even debugging with 4 decimals it still returns: (0.0000, 0.0000, 0.0000). I was moving the HMD as fast as I could and it tracks correctly.
So the question still stands. Very odd behavior. - AnonymousEven updating the OVRPlugin to v1.20.0 I still cant access HMD velocity. Could it be that some sensor in my hardware is broken? Thanks.
Specs:
Unity v2017.2.0f3, Oculus Utilities v1.20.0, OVRPlugin v1.20.0, SDK v1.20.0
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
- 3 years ago