Controller input
This scene shows how to access VR controller tracking and buttons with Controller.cs script.
Vive controller inputs
- Controller highlights pressed buttons. Touchpad is highlighted on touch.
- Controller menu button activates teleporting.
- Touchpad press creates a cube in front of a controller. While touchpad is held down the cube charges energy. On touchpad release cube is launched forward with charged energy.
- Trigger can be used to pick up and throw items.
- Grip button does not have any function in the scene but it gets highlighted if pressed.