Jump to content

How to get controller trigger state without SteamVR_Controller?


Yana_Artis

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...