Repository navigation
How can we deactivate the Gaze Interactor in the presence of hands or controllers within the scene? #11780
Unanswered
Ramannamalai RM (Ram1508)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Adam Mollis (@AMollis)
[Scenario]
I'm faced with a situation where I want to dynamically suppress the gaze interactor whenever hand interactors are present on the screen.
[Approach]
In a scene featuring two buttons, "Enable Gaze" and "Enable Hand," I've employed the following methods:
I've configured the Interaction Layer Mask to be set to Nothing in the FuzzyGazeInteractor script (Gaze Interactor) and GazePinchInteractor Script (Right and Left Hand Controller).
[Question]
Is this approach the most effective way to achieve this, or are there alternative methods that might be more suitable?
All reactions