Wiimote Headtracking FPS Laser Gaming


Remember [John]’s Halloween laser tracking game? He’s been busy since then. After building his own version of multi-player missile command based on his laser interaction game, he added head tracking (using the same method as [Johnny Lee] . Check out the video after the break, and grab the full source for Mac or Linux.

12 thoughts on “Wiimote Headtracking FPS Laser Gaming

  1. ellisgl,

    Actually, I’m doing 3d tracking. The game knows your X, Y, and Z (I use all three for control) as well as the tilt of your head. I do X and Y by calculating a point that is between the two IR LEDs. The Z is determined by the distance between the two points. If you are closer to the WiiMote then the points appear to be further apart. If you’re further away then the points are closer.

    I get the angle of the points as well but I currently don’t use them. I had used them for turning, I plan to use them for sidestepping.

    Of course I could know more about head orientation by adding points. But I think I’m getting what I want out of head tracking. I’m going to use the other two points for an IR light saber, which I think would be more compelling.

  2. I went to youtube this morning to check out the video again and saw someone posted that a company by the name of HyperTMG is putting out its own IR Headset with 6 IR LED’s. I have already ordered mine and cant wait.

    As well, the site offers a Quake III mod download, so you can play Quake with the Wii mote. This is totally AWESOME. I have always wanted to play Quake or FPS with a gun.

    Thanks Johnny for making ideas like this come to life…

  3. mint sauce,

    right now my 3d game only does head tracking on the mac. The game itself runs on linux and windows, but with keyboard control. Actually, you can use the laser in linux, but we haven’t hooked up head tracking in linux yet.

    the missile command game that we’ve done:
    http://blog.insightvr.com/?p=12
    works on both mac and linux. that game will also run under windows, but we haven’t bothered to port the laser tracking to it so you’d be limited to playing with a mouse.

    jcl_headtracking fan,
    yeah, I owe a lot of credit to johnny lee for the inspiration, as well as to graffiti research lab. I should note, since engadget’s coverage of this has been sub-par, that johnny did not write this game. I wrote it from scratch. every line. in fact, i had to modify the mac wiimote libraries in order to get them to work with python…

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.