Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
BlackFang's avatar
BlackFang
Honored Guest
12 years ago

Correct way to call GetCurrentOrientation() in Oculus.uc ??

I'm experimenting on moving back to the OUDK, but I cannot figure out what the proper way to call GetCurrentOrientation() is. Can somebody post an example of how to call this function? I need to get the rotation of the HMD as a quaternion for use in my controller class.

How I'm doing it now Is I create a new instance of Oculus.uc and call from that, but I'm not sure if that is the "proper" way.
Replies have been turned off for this discussion