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

Primary action type None is not triggering any Grabbing events #136

Closed Maciej92Zareba closed 1 year ago

Maciej92Zareba commented 1 year ago

Unity 2021.3.4f1 Tilia packages: obraz

Re production steps

Set primary action on interactable to None obraz Try grab interactable

Expected behavior

Grab, Ungrab, Touch, Untouch events trigger

Current behavior

Grab, Ungrab, Touch, Untouch events do not trigger

thestonefox commented 1 year ago

This has been fixed.

Touch/Untouch will always raise with None action, but Grab/Ungrab will not raise by default as you're not able to grab.

However, if you need that functionality then you can go to the Grab Interactable Null Action component within the Interactable hierarchy and tick the Force Emit Events property.

image