- Home /
Prevent Object Detachment from Hand when Controller Trigger is Released in Unity SteamVR
Hi,
I'm using SteamVR's Player Prefab for Unity.
For picking up objects I'm using the Throwable script which uses the controller trigger to pick it up and its release to throw.
Is there a way to prevent object detachment when the controller trigger is release?
Like, for example, to hold a weapon and then shoot it using the trigger.
If so, how can I then force the detachment with code?
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612213440im_/https://answers.unity.com/themes/thub/images/avi.jpg)