Here is the Code for Unity to read UDP from Opentrack #1850
Rsilience
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After searching for a long time I never found the code to read the UDP data being send from Opentrack.
My colleague , Copilot and me came up with below code to enable head tracking in Unity.
It's not perfect yet because I'm still working on lowering the latency but maybe other can help me with optimizing this.
And maybe someone that has acces to the Wiki can place this code or a updated variant. Thanks.
I hope I'm helping out the Developers struggeling with this issue to.
Update 21/05/2024: Removed logging every 100. was causing warnings in unity and actually not needed anymore
Beta Was this translation helpful? Give feedback.
All reactions