From here and with the discovery of the Unity plugin, UniWii2, it was possible to use the data from the Wii input devices directly in the game's scripts. The whole set-up process, as with everything in Unity so far, was very straightforward. I particularly like the way it structures everything required by a project in a well-organised folder hierarchy as this is how I like to work.
Starting with a basic controller script I mapped the motion data from a Wiimote to a cube and watched it move as I moved the controller. This was quite satisfying in itself but I then went on to create a simple vehicle controller and had a very simple car driving around.
- http://sourceforge.net/projects/darwiin-remote/
- http://www.unifycommunity.com/wiki/index.php?title=UniWii
No comments:
Post a Comment