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

Getting size data from IR

Open cascross123 opened this issue 7 years ago • 1 comments

I currently get the Position X and Y from IR but I can't get anything more, the documentation is confusing to me and I can't work out where I need to alter the code to make it get more than the two? Any help would be appreciated

cascross123 avatar Apr 20 '17 10:04 cascross123

When I did it a while back I think I used some code from GetProbableSensorBarIR() in IRData.cs

https://github.com/Flafla2/Unity-Wiimote/blob/c5612536430899160eee1d7505b64bb75612c492/Assets/Wiimote/Scripts/WiimoteData/IRData.cs#L231

This made it possible to get the 4 raw IR point before the processing happens to work out which two are the ones we are interested in.

knarfrank avatar Apr 20 '17 12:04 knarfrank