Getting XR Controller (Action Based) Input Values

Published: 25 March 2023
on channel: Garlic Suter
7,577
51

Based on the Fist Full of Shrimp tutorial below, these 2 scripts detect XR Controller input (Quest 2 controllers running on OpenXR) and log it to the console and put it in the canvas Text.
Fist Full of Shrimp original tutorial:    • Unity VR : How to get Controller Data  
Github Link to my project: https://github.com/garlicsuter/XRCont...
To use: Create an empty gameobject and add the scripts "TriggerInputDetector" (from Scripts folder) and "inputdata" (FFOS Tutorial Resources folder, then FFOSControllerData folder) onto it. Assign the Canvas texts to see the values in game view, not just debug log.


On this page of the site you can watch the video online Getting XR Controller (Action Based) Input Values with a duration of hours minute second in good quality, which was uploaded by the user Garlic Suter 25 March 2023, share the link with friends and acquaintances, this video has already been watched 7,577 times on youtube and it was liked by 51 viewers. Enjoy your viewing!