๐Additional Input
With OpenXR there is an included script to allow for additional inputs besides just the "Squeeze" button
OpenXRHeldGrabbableInput
should be applied to the hand and will take an input action for press/unpress
OpenXRGrabbableInput
should be added to any grabbable that you want to receive custom input as long as the layer value is the same on the HeldGrabbableInput and the GrabbableInput
the inputLayer
value allows for multiple different HeldGrabbableInput and GrabbableInputs on one hand and or grabbable
There is not yet an example of this script. This script is to be expanded to include a version for OVR, SteamVR and legacy XR.
Last updated