Jump to content

How to get controller trigger state without SteamVR_Controller?


Recommended Posts

I am working on Unity3D game for HTC Vive. In the prototype (that was several mopnths ago) I used SteamVR_Controller to get the controller trigger state. But in new SteamVR plugin for Unity3D SteamVR_Controller class is missing, and the input system is totally different.


All I need is a string of sample code that permits me to do the following:

if (right controller trigger is pressed) {

    // Start the game



I've inspected sample code in SteamVR, but I still cannot find the way to check the trigger state...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...