Layer mask hard-coded for SphereOvelap case
Hard-coded SphereOverlap case means BoundingBox interactions can't be filtered.
In the FocusProvider.cs, other cases in QueryScene are filtered by the prioritizedLayerMasks. This allows runtime filtering of interactions appropriate to the current mode.
The SphereOverlap case is unlike the others in that it is hardcoded to only ignore the UnityEngine.Physics.IgnoreRaycastLayer. For consistency, especially since it is already ignoring the IgnoreRaycastLayer, it might be better to ignore the prioritizedLayerMasks like the other cases.
- Seen in current mrtk_development.
Note that if disabling bounding box interaction via layer masks works, the bounding box's Activate by Proximity should probably not activate when the nearby grabber is excluded by layer mask. See visual cues issue.
This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.
This issue has been closed by an automated process because it is stale. If this is still an issue please add a new comment with more recent details and repro steps.
Resolved by https://github.com/microsoft/MixedRealityToolkit-Unity/pull/7625