Forum Discussion
bteitler
11 years agoHonored Guest
Unity 5.1 Sensor Data
1. Can someone point me to documentation on the correct way to poll sensor data using the native Unity support in 5.1?
2. I previously used a dedicated thread for sensor polling - will this break with native as Unity doesn't usually like other threads to call it's API?
3. Also, is the sensor data available at the same fidelity? (i.e. 1000Hz, though I was mostly only able to poll 500Hz in practice).
Thanks
2. I previously used a dedicated thread for sensor polling - will this break with native as Unity doesn't usually like other threads to call it's API?
3. Also, is the sensor data available at the same fidelity? (i.e. 1000Hz, though I was mostly only able to poll 500Hz in practice).
Thanks
3 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionTry checking VR.InputTracking.
- bteitlerHonored GuestThis was the first place I checked:
http://docs.unity3d.com/ScriptReference ... cking.html
I need the actual raw sensor data (accelerometer in this case to be specific) so that doesn't help. I also see this:
http://docs.unity3d.com/ScriptReference ... vePtr.html
However, there is no documentation on how to actually cast the IntPtr to an Oculus data structure / function and use it. Any guidance you could give here would be appreciated. I pretty much can't upgrade until I figure out how to get the sensor data. - bteitlerHonored GuestBump. I'd take an answer of "not possible right now" with an ETA, but I'd at least like an answer. Thanks!
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 months ago
- 2 years ago
- 17 days ago