Sorry if this has been posted or if its a complete novice question, but how do i take in data from the IR sensor to make a model rotate in XNA?
Any help would be greatly appreciated.
This what i use to get the data:
WiimoteState ws = wm.WiimoteState;Point p1 = ws.IRState.IRSensors[0].RawPosition;Point p2 = ws.IRState.IRSensors[1].RawPosition;
I think you have to do the math on your own. Im currently doing a Imageview app and I just get coords from the wiimote and store them(the coords). I then run thru them and decide an action based on the coords (direction and lenght) over a given time.