Forum Discussion
DanielYu6
2 years agoExplorer
ISDK SnapInteractor filter
Hi, I might be wrong but as I see there is no option to filter out certain objects from being accepted by the SnapInteractor. I have not yet found a simple and elegant solution to implementing this. I saw SetComputeCandidateOverride but found it a bit confusing and not very ideal for my usecase. Anyone has any ideas?
Thank you!
2 Replies
Replies have been turned off for this discussion
- LucaMefistoMeta Employee
Hi DanielYu6, the SnapInteractor.cs should accept a IGameObjectFilter, look into the Optionals/InteractableFilters. There you should be able to assign, for example, a TagSetFilter.cs Component.
Attach a TagSet Component to the Interactable GameObjects to filter them out based on the rules you have specified. Let us know if this does not work for you! - DanielYu6Explorer
Thank you so much!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 6 months ago