cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable One Grab Translate Transformer at runtime

Shavier
Protege

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 1

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 😄