Download

Input Axis value of Oculus Touch grip alternating between 0 and the value

I’m trying to implement the analog grip on Oculus Touch and Index to control the hand grab animation. The animation goes to the right frame as I put varying strenghts on the grip button, but I also want to check when it’s fully pressed or released to handle the grabbing and releasing of objects.

Here’s my blueprint that handles both the animation and grabbing/releasing, the green lines is the value received by the axis input

And the print output while I’m holding down the grip button

Is this supposed to happen? Strangely when I check the value coming out of the event it stays at the value in the tooltip. Also when I release it, both the tooltip and print say 0.0 but the branch that checks for 0 returns false unless I tab out and focus on the blueprint window.