firativerson Posted April 4, 2020 Share Posted April 4, 2020 Hello everyone, I am building an app for my focus plus and had no problems until I decided to vibrate controllers. A reference to wave_api.dll is needed for vibration and thats when I started getting DllNotFoundException : wave_api.dll error. I tried checking android and editor check boxes but still getting that error. I was trying to add reference manually in VS but file doesnt seem to be a valid reference file. I have been searching through forums and could find a proper answer on this. Any help would be highly appreciated, Best P.S : unity 18.4.15 - latest waveVR sdk (i believe so, i am not sure where to check the version) @Tony PH Lin @Cotta Link to comment Share on other sites More sharing options...
Sean Lu Posted April 6, 2020 Share Posted April 6, 2020 Hi firativerson, What's the API you used to vibrate controllers? Is it WVR_TriggerVibration? Did you use it in edit mode? Could you just build an apk and test it? (not in edit mode) Thanks. BR, Sean Lu @firativerson Link to comment Share on other sites More sharing options...
firativerson Posted April 13, 2020 Author Share Posted April 13, 2020 On 4/6/2020 at 9:51 AM, Sean Lu said: Hi firativerson, What's the API you used to vibrate controllers? Is it WVR_TriggerVibration? Did you use it in edit mode? Could you just build an apk and test it? (not in edit mode) Thanks. BR, Sean Lu @firativerson Hi @Sean Lu Thank you for quick response. Here is how I am calling the vibration . Inside the UniversalControllerActions.cs I am calling WVR_HVR.WVR_TriggerVibration_HVR(WVR_DeviceType.WVR_DeviceType_Controller_Left, WVR_InputId.WVR_InputId_16, 10000000,300,WVR_Intensity.WVR_Intensity_Normal); Also ,I am always trying on the device with no luck. Link to comment Share on other sites More sharing options...
Sean Lu Posted April 14, 2020 Share Posted April 14, 2020 Hi @firativerson, WVR_HVR is not for focus plus device. Please don't use it this way. Please call Interop.WVR_TriggerVibration() or WaveVR_Controller.TriggerVibration() instead. Link to comment Share on other sites More sharing options...
firativerson Posted April 20, 2020 Author Share Posted April 20, 2020 On 4/14/2020 at 1:04 PM, Sean Lu said: Hi @firativerson, WVR_HVR is not for focus plus device. Please don't use it this way. Please call Interop.WVR_TriggerVibration() or WaveVR_Controller.TriggerVibration() instead. Interop worked , thank you very much Sean! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now