Forum Discussion
zacheri
6 years agoExplorer
How would I go about doing something when an object is grabbed/released?
As the title says, I would like to set it up so I can execute code when an object is grabbed or released. How would I go about doing that?
verdemis
6 years agoHonored Guest
Nashoute said:
The OVRGrabable have functions like "GrabBegin" or "GrabEnd", just do your custom script, inherits the OvrGrabable and custom your grabs. If you are looking to your hands, there is also a GrabBegin and a GrabEnd in the OVRGrabber.
I'm looking after something like this, but I'm using the XR Interaction Toolkit, and as far as I know they don't have such events?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months agoAnonymous
- 1 year ago
- 4 years ago
- 4 years ago