Skip to main content
New Participant
April 28, 2025

Sticky Grab with Meta SDK

  • April 28, 2025
  • 2 replies
  • 473 views

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!

    This topic has been closed for replies.

    2 replies

    Barty98
    Inspiring
    April 29, 2025

    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)

     

    New Participant
    August 26, 2025

    Hey Barty98​ Can you elaborate more on this and if possible give a script or something, Because I want a functionality so that when pressing grip button near a object [ I have controller driven hands in my game] only triggers the grab of my object and when pressing the grip button again it releases the object instead of traditional hold to grab method.