Forum Discussion
patrick_nercess
5 years agoHonored Guest
Determine whether hands or controllers are currently being tracked?
Is there some sort of bool variable that determines whether hands or controllers are being tracked currently? I want the user to be handed the controllers in my virtual environment, and for something to change when that happens. Any help would be greatly appreciated, I can't find anything about this at all in the documentation or in other forums.
1 Reply
Replies have been turned off for this discussion
- patrick_nercessHonored GuestAfter about an hour and a half of looking through OVRPlugin and OVRInput, I finally figured it out. Basically, OVRInput.GetActiveController() will give you the most recently used OVRInput.Controller, which is an enum of controller types. So you can check if it equals OVRInput.Controller.Hands or OVRInput.Controller.Touch, or whatever you want.
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
- 6 months ago