Unity Community


Page 1 of 3 123 LastLast
Results 1 to 20 of 47

  1. Location
    Denmark
    Posts
    15

    OSCuMote - Wiimote support for the free version

    With no native plugin support with the indie license i decided to create a workaround.
    It basically consists of OSCulator sending OSC messages to unity over UDP and my little wrapper that parses these OSC messages.

    As OSCulator supports multiple wiimotes and Balance Boards so does my little wrapper.
    As of version 1.2, Nunchucks, Classic Controllers, Motion plus, vibration, LED and motion plus recalibration support has been added.



    Only problem is that with the unregistered version of OSCulator, sending is blocked while "nagging screen" is shown :S (happens around every 10 minutes).

    GlovePIE for windows might be a viable alternative for the ones not running OSX.

    Edit: The source is uploaded and can be found here: http://itu.dk/people/jzso/OSCuMote/oscumote.html


  2. Posts
    18
    good~this is my interesting~ Can you share your plugin files or scripts? I hope to enjoy it~ :P


  3. Location
    Boston, MA
    Posts
    47
    Yes, I am interested. Having the Wiimote work with Indie would be great.


  4. Location
    Copenhagen
    Posts
    44
    I would be very interested in seeing the code as well - I am trying to do something similar and don't have too much experience with the OSC protocol. Are you planning to make it public at some point?

    I am also using OSCulator - but you can use the DarwiinremoteOSC as well which doesn't have any popup windows
    http://code.google.com/p/darwiinosc/downloads/list

    However, I don't think it supports the balance boards


  5. Location
    Des Moines, IA
    Posts
    271
    Oh my... Yeah I'm very interested! larzie is right, DarwiinremoteOSC would be a great replacement - there are some Processing examples that use it.

    I would definitely appreciate this as I've been working on some interactive music video prototypes and I've had the Wii remote in mind this whole time. I was afraid I'd have to wait until I had Unity Pro, but it'd be great to test this out before I can save up for it.


  6. Location
    San Francisco, CA
    Posts
    901
    Why not simply build OSC into DarwinRemote, and make DarwinRemote run as a background process?


  7. Location
    Denmark
    Posts
    15
    Here's the source. I'm terribly sorry for the long response time. I failed to notice that people had replied to my post

    http://www.itu.dk/people/jzso/OSCuMote.zip

    I hope it's still of any use.
    Some of the code was inspired by another user from the forum which i unfortunately forgot his name. But thanks to him anyways if he sees this.


  8. Location
    Des Moines, IA
    Posts
    271
    Thanks so much for this! Once I get something going using this, I'll make sure to post it in the showcase.

    And if I end up doing any enhancements to this, I'll post it here, too.


  9. Location
    Denmark
    Posts
    15
    @ bliprob : yes i do agree that it might be a better solution however it would require learning objective C I'm not sure if darwiin remote supports balance boards either.

    @God at play: Sounds great
    Regarding the DarwiinOSC if it sends the same OSC messages as OSCulator does then it should work out of the box.

    Again i really wanted balance board support so that's why i decided to use OSCulator.


  10. Location
    Copenhagen
    Posts
    44
    @sketchground - that is awesome! Thanks for sharing.

    I trawled through the forum a little while back and also found this OSC example
    http://forum.unity3d.com/viewtopic.p...&highlight=udp

    cheers,
    Lars


  11. Location
    Lyon, France
    Posts
    420
    Looks great ! Would love to test it too, but the links are no more functional...
    By definition, nothingness doesn't exist...


  12. Location
    Denmark
    Posts
    15
    @Yann

    I have updated the links so they work now. I hope the code is still useful as i haven't looked at it for quite a while


  13. Location
    Lyon, France
    Posts
    420
    @sketchground : this is very kind of you, thank you so much !
    By definition, nothingness doesn't exist...


  14. Posts
    57
    I haven't been able to download the link for some reason.

    Also, I noticed they are working on a beta version of the wiimote driver with the motion-plus add-on in Osculator.

    thanks.


  15. Location
    Denmark
    Posts
    15
    Sorry i had only remembered to update the url in the initial post. But it is all changed now. I just checked it and the updated one still works fine

    Yea i have noticed they are working on a beta for motion plus. Once that is done it should be really easy to extend the script to support it as well.

    Good luck with it.


  16. Location
    Denmark
    Posts
    15
    If any of you put it into cool use i would love to see the results

    And if you have any suggestions of improvements of the code please share.


  17. Posts
    340
    Many thanks for this. Im not going to use it with wii remotes, but rather other osc stuff such as the jazzmutant lemur, monomes, and max4live.

    I will post details when I have done something with it, I have a lot to learn about unity so it may take a while.

    By the way I think there is a new version of osculator on their website now.


  18. Posts
    1
    Thanks to the OP for these scripts,

    I needed to get data from the Nunchuk and accelerometer x/y/z data so I amended the scripts to display these.

    I culled the Balance board though sorry.

    The X/Y/Z acceleration for the Wiimote is at the bottom of the Nunchuk section - sorry couldnt be bothered to change all the text positions for a test app.

    I've attached the amended scripts and the Osculator project file.
    Attached Files


  19. Location
    Denmark
    Posts
    15
    I have pulled up the project again and added support for a whole range of things. Some of it is listed in my initial post with a deeper explanation on my website linked to in the initial post as well.


  20. Location
    Des Moines, IA
    Posts
    271
    This is an awesome update! Thanks.

    I think I might prefer this over the plug-in; connecting seems to be a lot more reliable and it doesn't give me kernel panics. :P

    I'll try to get this integrated into my app and let you know how it goes.

    One suggestion: your documentation wasn't clear that in OSCulator you have to set every item to OSC Routing and localhost:8876. Might want to add that in there for those just starting out.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •