Implementing MQTT into Unity Game Engine: A 3D Parking Experience

ยท
ยท

Hello everyone! In the video below, I present my personal project "Implementing MQTT into Unity Game Engine," my first-ever community post. This project brings to life a 3D world; a dynamic parking lot experience where I control car lights and lampposts using MQTT, all within an immersive visual environment. I utilized the Unity game engine alongside HiveMQ's free MQTT broker client. This made testing the MQTT connection incredibly easy, with no download or installation required. My goal was to implement MQTT into Unity and utilize Unity's powerful 3D rendering capabilities (initially, I only controlled one car's lights). However, as I progressed, I aimed to create an even more captivating 3D world, thanks to some free assets I found on the Unity Asset Store. My passion for cars, combined with my modest experience in Unity, motivated me to enthusiastically undertake this project. Integrating MQTT into Unity posed significant challenges, especially given the limited availability of free resources. Throughout this project, I learned a great deal and enjoyed the creative process of bringing it to life.

  • Avatar of Scott
    Scott
    ยท
    ยท

    Fun! Thanks for sharing Badreddine Kerkeny โ€” were you inspired to try out Unity with MQTT based on our earlier event with Andreas Vogler?

  • Avatar of Badreddine Kerkeny
    Badreddine Kerkeny
    ยท
    ยท

    To be honest, I had been considering this idea for quite some time. Having previously implemented MQTT in mobile and web applications, I found myself limited by the capabilities of 3D rendering, which Unity excels in. Attending Mr. Andreas Voglerโ€™s webinar on MQTT and Unity further inspired me to undertake this project.

  • Avatar of Scott
    Scott
    ยท
    ยท

    That's awesome. Really appreciate you sharing it with the community ๐Ÿ˜ and glad you got some motivation from the event too.

  • Avatar of Andreas Vogler
    Andreas Vogler
    ยท
    ยท

    cool demo! ๐Ÿ˜Ž

  • Avatar of Badreddine Kerkeny
    Badreddine Kerkeny
    ยท
    ยท

    Thank you very much.

  • Avatar of Rodrigo
    Rodrigo
    ยท
    ยท

    Very interseting. I didn't know that Unity can be used this way.

  • Avatar of Rodrigo
    Rodrigo
    ยท
    ยท

    Very useful for demos

  • Avatar of Andreas Vogler
    Andreas Vogler
    ยท
    ยท

    Rodrigo Some time ago we had a session about how to combine the 3D world of Unity with MQTT: https://www.youtube.com/watch?v=fNP9cYg98ZE

  • Avatar of Brian Gilmore
    Brian Gilmore
    ยท
    ยท

    this is awesome! Anthony Olazabal