Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Shavier's avatar
Shavier
Protege
3 years ago

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.

1 Reply

Replies have been turned off for this discussion
  • Gully58's avatar
    Gully58
    Honored Guest

    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 😄