Skip to main content
Shavier
Inspiring
January 11, 2023

How to disable One Grab Translate Transformer at runtime

Im using the One Grab translate transformer in an object but I want to disable it when the objetc reach certain point, but I just cant disable the translate transformer effect, even removing the component at runtime doesn't seems to disable the effect.

    This topic has been closed for replies.

    1 reply

    New Participant
    January 22, 2023

    HI.

    I have solved this problem by accessing to the component "TouchHandGrabInteractable" (in the case you are doing a physical grabb, in case you were doing a basic grab , you may get the "handGrabInteractable", and them you can call the "enable" method.

     

    This is how I put an object for my hand to a slot without open my hand to release the grabb.

     

    I hope I have help you 😄