MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Layer mask hard-coded for SphereOvelap case

Open fast-slow-still opened this issue 7 years ago • 4 comments

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.

fast-slow-still avatar Jun 05 '19 16:06 fast-slow-still

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.

fast-slow-still avatar Jun 06 '19 08:06 fast-slow-still

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.

stale[bot] avatar Feb 20 '20 02:02 stale[bot]

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.

stale[bot] avatar Mar 21 '20 04:03 stale[bot]

Resolved by https://github.com/microsoft/MixedRealityToolkit-Unity/pull/7625

RogPodge avatar Apr 08 '20 21:04 RogPodge