Event trigger script

ZealousAppex
Settler

Event trigger script

Using the WaveVR "Event Trigger" how can I get the front controller trigger press?

htc-vive-focus-black-controllers-3d-model-max-obj-3ds-fbx-c4d-lwo-lw-lws.jpg

Vive Staff

Re: Event trigger script

Hi @ZealousAppex,

 

Are you using from Unity default as below? It's not designed by WaveVR

https://docs.unity3d.com/ScriptReference/EventSystems.EventTrigger.html

Please refer to below instruction how to use trigger key to send event.

https://hub.vive.com/storage/app/doc/en-us/WaveVR_InputModuleManager.html

event_trigger.png

Thanks.

ZealousAppex
Settler

Re: Event trigger script

Switching it to trigger doesn't send the event, can you confirm on your end using WaveVR: 2.1.8. @Tony PH Lin

Vive Staff

Re: Event trigger script

If you use Finch 3Dof controller, there are two ways for you.

 

1) Add line 14th inside WaveVR_ControllerInputModule.cs as below

line14.png

Then select Digital Trigger from InputModuleManager 

 

digital_trigger.png
Or 

2) You can add below code (refer line 564-566)

line564.png

 

Let us know if it's resolved and helpful for you.

Thanks.