cancel
Showing results for 
Search instead for 
Did you mean: 

UI toggle not selected every time when clicked by Ray Interactor.

VishalFuturristic
Honored Guest

Hello, I have made multiple ui toggle and by clicking on any toggle button perform some action. I made it clickable by Meta quest 3 Controller Ray Interactor. but toggle is not clicked every time when i pressed the trigger button. some time it clicked and some times it not. What could be the issue ?

1 REPLY 1

MetaDevXR
Protege

Having similar issues with Unity toggle buttons on my UI when using hand interactions.  Not sure what it is but they sometimes don't feel as responsive as buttons.  What's strange is I have one on a menu and it seems to work fine.  But I have another one with a similar setup on its own canvas that functions like a light switch.  This one doesn't respond as well.  It might be the Poke Interactable script settings, or maybe the surface plane bounds clipper, but I have everything set similar to the other toggle.  I've even wondered if it had to do with the angle of interaction and the collision spheres on the hand index finger - finger pad versus fingertip.  The toggle on the menu can easily be naturally used with a finger pad whereas the other "switch" toggle is lower in the scene, and you tend reach to use your fingertip.  Anyway, would like to better understand this.