Forum Discussion
ShadowyMerlin1551
10 months agoHonored Guest
The distance grab can detect objects through walls. How can I prevent this from happening?
How can I prevent this from happening?
4 Replies
Replies have been turned off for this discussion
- gavin_priorExpert Protege
Does your wall have a box collider attached?
- ShadowyMerlin1551Honored Guest
Yes, I have a box collider attached, and I updated it to version 74; however, the issue persisted.
- gavin_priorExpert Protege
I've had a quick test and can't figure it out either sorry.
I found this which you've probably seen already:
It mentions walls in the bottom section but I can't see any reference that is relevant to the current setup in the distance grab example scene.
- ShadowyMerlin1551Honored Guest
I think that one might have been deprecated since it dates back to 2017. I found a comment in DistanceHandGrabInteractor.cs stating:
"The DistanceHandGrabInteractor uses see cref='DistantCandidateComputer{TInteractor, TInteractable}'/> to detect far-away interactables." to detect far-away interactables."
So, I suspect the relevant logic might be in DistantCandidateComputer.cs (DistantPointDetectorFrustums.cs), but I couldn't find anything related to detection blocking.
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
- 9 months ago
- 2 years ago
- 2 years ago
- 1 year ago