Unity-Wiimote
Unity-Wiimote copied to clipboard
Getting size data from IR
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
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.