I have a VR project with a Root Scene, a ARVROrigin node as a child and a ARVRController node as a child of it. The ARVROrigin node and ARVRController node scenes are copied directly from the Oculus VR Pluigin. I can see the controllers in the VR HMD and they move correctly.
In the script for the ARVRController I have printed the following methods to the Output window and they make sense:
- getcontrollername() ["Right Oculus Touch Controller"]
- getjoystickid ( ) [3]
However I cannot get the getjoystickaxis ( axis ) method to return a value when printed to the Output window.
What have I missed?