Saturday, March 27, 2010

Controlling Unity3D with an Android phone

In my previous post I turned my Android G1 into a game controller for an Adobe Air desktop app. The same thing can be done with a Unity file. Although I didn't have much time to make something really nice, I've quickly put together a short video, which demonstrates that Unity also supports UDP. Again, I've used RemoteDroid to send data to my computer over its wireless network. You can read more about the how in the previous post.

I'm not sure who made the 3d jet model, but I downloaded it here.

13 comments:

  1. Nice! Now we just need Android support in Unity ... :)

    ReplyDelete
  2. @Jeff Murray:
    I bet they're working on that! :D

    ReplyDelete
  3. They are. Unity 3.0 will support Android.

    ReplyDelete
  4. thanks :)

    Here's some info about the upcoming Unity 3.0 and Android support:

    http://unity3d.com/company/news/unity-unveils-3rd-generation-platform-press.html

    ReplyDelete
  5. Very cool! Great work Jeff!

    Have you tried it with other interactions such as a shooter game or even maybe a trivia game? It has tons of potential!! :)

    ReplyDelete
  6. @Andrew
    you're right, you could definitely turn your phone into an advanced game controller, also using the keyboard for instance. It's not hard at all to hook it up to a shooter game - similarly to how I hooked up the wiimote to the Unity first person tutorial:
    http://www.youtube.com/watch?v=KpPU2-pbp38

    ReplyDelete
  7. Cool music by the way :)

    ReplyDelete
  8. Wow..Nice post..Thank you for the information you have shared!

    ReplyDelete
  9. Wow. I was amaze. I like it. I like to try this this very interesting. Thanks for the information.

    ReplyDelete
  10. Sweet!! Now that I have my Droid this is just in time!!!

    ReplyDelete
  11. plz help me what are the unity side settings so that it starts receving events form an android socket

    ReplyDelete
  12. can you make simialr series of tutorials for android?

    ReplyDelete