cancel
Showing results for 
Search instead for 
Did you mean: 

Sticky Grab with Meta SDK

Stefan.011235
Honored Guest

We have recently started developing with the Meta SDK for building our VR projects in Unity, and have struggled finding/ implementing Sticky Grab interaction. Instead of instantly releasing the interactable after releasing the pinch gesture, we want the interactable to continiuously be grabbed until there has been another pinch grab. This will allow the user to not have to keep pinching/ pressing the Grab button on the controller to hold the object in it's virtual hand.

But as stated above we haven't found this to be supplied by Meta so far, and are wondering if somebody else have stumbled against this 'issue' and maybe have found a way to implement this behaviour. Would love to hear your thoughts and ideas, thanks!

1 REPLY 1

Barty98
Explorer

I have done this before by using the ForceSelect method on the hand interactor and setting the 'allowManualRelease' parameter to false, this will make it so the player cannot drop the object without calling 'ForceRelease':

_interactorRight.ForceSelect(_handGrabbableRight, false)