Forum Discussion
VJ76
6 years agoProtege
How can i switch the laserpointer (UIHelper) from right to the left controller?
When adding the UIHelper prefab from the OculusIntergration, it directly assigns it to the right controller. How can i switch it to the left controller? Do need to change the HandedInputSelector.cs?
bruno.fantini
3 years agoExplorer
Hi, so this worked for me using the Quest 2 /unity 2020.3
Modify the Update Method in HandedInputSelector.cs , so that the left controller is always set as active in every frame:
void Update()
{
//if(OVRInput.GetActiveController() == OVRInput.Controller.LTouch)
//{
SetActiveController(OVRInput.Controller.LTouch);
//}
//else
//{
// SetActiveController(OVRInput.Controller.RTouch);
//}
}
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device