ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
357 stars 82 forks source link

Trigger values from index controller are inaccurate #191

Open wirelessdreamer opened 4 years ago

wirelessdreamer commented 4 years ago

Debug.Log(ViveInput.GetTriggerValue(viveRole));

when the trigger is half way pressed in, its displays a value of 1.

Additionally reading the trigger button activates at this time, instead of when the actual button in the trigger is pressed, but I believe this is caused by issue #1 above.

chengnay commented 4 years ago

@wirelessdreamer Could you provide a sample project that can reproduce this issue? We tested with Vive Pro + Index controller and not able to reproduce the issue that you mentioned. Also, could you list the version of Unity, SteamVR SDK and plugins that you imported in your project? Thanks!