Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ShadowyMerlin1551's avatar
ShadowyMerlin1551
Honored Guest
10 months ago

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
    • ShadowyMerlin1551's avatar
      ShadowyMerlin1551
      Honored Guest

      Yes, I have a box collider attached, and I updated it to version 74; however, the issue persisted.

       

    • ShadowyMerlin1551's avatar
      ShadowyMerlin1551
      Honored 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.