How can i switch the laserpointer (UIHelper) from right to the left controller? — Oculus

All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible:

For additional information and context, please see "Submitting Your App to the Oculus Quest Store".
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

How can i switch the laserpointer (UIHelper) from right to the left controller?

VJ76VJ76 Posts: 22
Brain Burst
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?


  • WeitinWeitin Posts: 7
    I can't confirm if this works, but I believe set the Ray Transform to LeftHandAnchor in OVRInputModule found in UIHelpers > EventSystem.
  • VJ76VJ76 Posts: 22
    Brain Burst
    @Weitin Thx for your answer, but it is not working.
  • WeitinWeitin Posts: 7
    Hey I took a look, and here are my findings. I debugged OVRInputModule and found that RayTransform is always set to the RightHandAnchor. Even setting it to something else at runtime doesn't change it. This leads me to believe that this value is automatically set by Oculus according to the OVRInput.GetDominantHand(). However, I found no way of setting the dominant hand (only getting) through code or even in the user settings for that matter. So it seems the laser is stuck to right hand. I'll contact Oculus about this, but I don't see this being fixed quickly.
Sign In or Register to comment.