Unity-Wiimote icon indicating copy to clipboard operation
Unity-Wiimote copied to clipboard

Accessing the acceleration meter data and gyroscope

Open Breckie1 opened this issue 6 years ago • 0 comments

I don't know if I am particularly dense or if learning how to program as a dyslexic was a bad idea but I want to access the angle of the controller, basically (pseudo code) if(tilt to left) { do stuff } if (tilt to right) { do more stuff } if(tilt upwards) { do something else }

if(pulled straight up) { jump }

I have no idea how to access these values and I've been trying to read through the readme file but I still don't get it. I have a Wii Motion Plus controller and a dolphin bar this error keep showing up also: HidAPI reports error -1 on write: UnityEngine.Debug:LogError(Object) WiimoteApi.WiimoteManager:SendThread() (at Assets/Wiimote/Scripts/WiimoteManager.cs:169)

Breckie1 avatar May 04 '18 12:05 Breckie1