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

Prevent to grab Interactable when it is not Touchable #169

Open Maciej92Zareba opened 1 year ago

Maciej92Zareba commented 1 year ago

Is your feature request related to a problem?

I believe that Interactable that is not Touchable, should not be able to be grabbed. Grabbable state is to heavy dependendent on touchable state.

Describe the solution you'd like

When disabling Touchable it should disable Grabbable state. I'm not sure if it should track previous grabbable state and restore it in case of making interactable Touchable again.

Discord thread related to problem https://discord.com/channels/550317049751273512/1143874467983011981/1143874472441553037