Forum Discussion
dev-test
6 years agoHonored Guest
[Unity] Reproducing controller system from main Oculus menu
Hi,
In the Oculus quest's menu any button triggered switch the main active controller (Left or Right).
I would like to implement the same system in my Unity application.
I've tried to use OVRInput.GetConnectedControllers() and OVRInput.GetActiveController() but both returned "Touch" value. Nevertheless, I have set each Controller prefab's OVRTrackedRemote script to LTouch and RTouch, I would expect those method to return at least one of those value.
I've also tried OVRPlugin.GetDominantHand() and the result was always the right hand.
Did anyone here managed to reproduce in Unity how the controllers work in the Oculus menu ?
Thanks in advance.
In the Oculus quest's menu any button triggered switch the main active controller (Left or Right).
I would like to implement the same system in my Unity application.
I've tried to use OVRInput.GetConnectedControllers() and OVRInput.GetActiveController() but both returned "Touch" value. Nevertheless, I have set each Controller prefab's OVRTrackedRemote script to LTouch and RTouch, I would expect those method to return at least one of those value.
I've also tried OVRPlugin.GetDominantHand() and the result was always the right hand.
Did anyone here managed to reproduce in Unity how the controllers work in the Oculus menu ?
Thanks in advance.
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device