I've put together a (7-part) video tutorial that shows you how to get your Wii Remote working in Unity Indie. In short, I send data from the Wii Remote to Flash, and then these data are being passed to Unity.
So the tutorial covers two things:
Exchanging data between Flash and Unity with U3dObject
Hooking up your wiimote with WiiFlash
If you don't have a wiimote or are not interested in the wii part, the video may still be worth watching if you want to know how to set up communication between Flash and Unity; something that could serve many more purposes than just the wii thing.
The videos discuss only the Wii Remote, but hooking up your Nunchuck is just as easy. Also, the balance board is supported by WiiFlash.
The tutorial got a little longer than I had in mind - total running time is 55 minutes - but if you have a Flash or/and Unity background, you may want to skip forward here and there.
I have bundled two example projects, which you can find here. I included the simple project from the video tutorial, and also a second project, which demonstrates how to hook up the Wii Remote and Nunchuck to Unity's FPS_Tutorial.
UPDATE: In the video I say that the latest mac version of the WiiFlash server - 0.4.5 - was not working for me. I have tried it again, and now it seems to work fine - not sure what happened last time. Keep in mind though that you may have to tell it to open in 32-bit mode. Right-click on the app, select Get Info and check the Open in 32-bit Mode checkbox.
muy buenos tus video tutoriales, por favor no tienes unos en español, te lo agradeceria muchisimo si tuvieses algun en español
ReplyDeletemuchas gracias por el aporte, estoy que hago un proyecto aca en Peru, usando el Wiiflash,
por favor si tienes informacion puedes escribirme a:
marco.antonio.torres.altamirano@gmail.com
muchas gracias...
hi Marco,
ReplyDeletethanks for your reply. I'm afraid I can't help you with a Spanish version of this tutorial due to my no hablo espanol situation :).
OMG, this is awesome work you've done. I'll try it out and give you feedback pretty soon, probably in your post in the unity forum!
ReplyDeleteBest regards,
Andy
Myhomebreware.com presents Wii Homebrew , the most beneficial WII unlocker within the marketplace. The specialty is it can unlock WII under 5 minutes.
ReplyDeleteCan Unity work with MotionPlus?
ReplyDeleteWiiFlash doesn't support Motionplus yet.
ReplyDeleteThanks for sharing this because it could be useful, so I've been trying to get this and I didn't get it, maybe I'm doing something wrong, Could you give me some recommendations?.
ReplyDeleteI wanted to learn some techniques about it, so with this tutorial is easier because it show us step by step the correct process.
ReplyDeletei like this toturial v much :)
ReplyDeletedear I am a final year student of bachelors of computer science and have to make a 3d squash game using wiimote. here is its some description... The player stands in front of Computer and performs real time gestures to interact with this application. The player holds a wiimote is his hand and can navigate on the menus of the game using the sensor bar and makes an arm movement to control the racket orientation and positioning on the display screen. The movements involve making a service gesture or a smash to the ball.
Please suggest unity will help me in this task ? ? i have just to deploy this game on windows not on wii console so the free versions of unity will give me the functionality of wiimote programming ? . and plz give me general tips n suggestion for this game as i am a biggner of unity engine....
thanx
Where do I get flex builder from?
ReplyDeleteGetting the Error: SecurityError: Error #2060
ReplyDeleteAfter just putting in "myEvent" and "myParam"...
(ps: Running wiiFlash 0.4.5 and tried both versions of u3dobj - on windows 7).
Thanks :)
Good Mourning. Firs of all, sorry about my english.
ReplyDeleteMan, I'd like to know if I can make work the wii remote with the sensor bar. I mean, I want to create a FPS game that REALLY make use of the Wii remote as the cross hair with the sensor bar. I really appreciate if you can help me with this.
Thanks
yes, wiiflas supports the sensor bar.
ReplyDeleteOne question. I want yo make a PC WINDOWS built using this tutorial...you are making a browser build, so...how do i do to make the PC WINDOWS build? I see on and your examples that you're usig the HTML files to make the browser build...I appreciate your help.
ReplyDeleteBye
This tut is based on the idea of talking with js via the browser, I wouldn't know how to make that work for a desktop build.
ReplyDeleteWow, nice post,there are many person searching about that now they will find enough resources by your post.Thank you for sharing to us.Please one more post about that..Varney
ReplyDelete