ExtendRealityLtd / Tilia.Interactions.Interactables.Unity

A variety of mechanisms for interacting between interactors and interactables in a spatial scene for the Unity software
MIT License
9 stars 3 forks source link

feat(prefabs): add rules matcher for touched colliders #160

Closed thestonefox closed 1 year ago

thestonefox commented 1 year ago

A new Rules Matcher has been added that can be used to process the touched collider of the interactable in a similar way to how the grabbed collider matcher works. This makes it possible to know which collider has been touched on the interactable and do something with this information before the rest of the touch logic is run.

The touch (and now the grab) collider logic only runs if the interactor is not in the disallowed interactors list for the interaction type.

ExtendReality-Bot commented 1 year ago

:tada: This PR is included in version 2.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: