Forum Discussion
tkdHayk
7 years agoProtege
how to check if object is grabbed by specific controller?
Below is pseudo-code which demonstrates my desired functionality. The code needs to be placed in on the grabbed object. The part in Bold is what I need clarification on. if (_OVRGrabbable.grabbedB...
peiqi_tang
6 years agoHonored Guest
I figured it out.
You can check the static float from OVRInput.Get(Axis.1D.PrimaryHandTrigger, OVRInput.Controller.LTouch), 0 is not pressed, 1 is pressed to the end.
You can check the static float from OVRInput.Get(Axis.1D.PrimaryHandTrigger, OVRInput.Controller.LTouch), 0 is not pressed, 1 is pressed to the end.
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
- 2 years ago
- 1 year ago
- 4 years ago