Tosoville: Intuiface meets Unity 3D

Inspired by the Intuiville project, Tosoville explores several interactive signage scenarios in the tradeshow industry. In specific, this demo combines an Intuiface UI overlayed on an interactive environment created in Unity 3D. Unity is a powerful 3D game engine, which offers real time 3D animations and a lot of sophisticated visual effects.

How we did it
The challenge we tried to solve was integrating the two apps and making them communicate with each other. Unity talking to Intuiface can be easily resolved with a Local Network Trigger.
Intuiface sending a command to Unity is a bit more challenging.

We are aware of the unsupported Unity Starter Package but we didn’t use it. We just couldn’t figure out how to set it up, and it seemed a bit complex to implement.

We resorted to a workaround. We designed a Unity app that recognizes 1-8 key strokes.Then we created 8 AutoHotKey (AHK) macros that could be launched by Intuiface and would simulate the pressing of each key. We set Intuiface with a transparent background, and now we had two apps overlapping each other, yet being able to trigger reciprocal actions.

The AHK macros look like this:

WinActivate, IntuivilleUnity ahk_class UnityWndClass
Send, {1}

Now Intuiface was able to send ‘keystroke’ messages to Unity, which triggered smooth 3D animations that would not be possible with the native 3D asset.

What’s next
As Intuiface XP are becoming more sophisticated, Unity integration with a simple IA would be the ideal solution. I’m sure our approach is not the most efficient, but it works well (and probably @Seb has an opinion too).

Special thanks to our VR designer Michael Gelon for creating the Tosoville space in Unity.

8 Likes

Bravo!

Everyone seems to be knocking out experiences left, right and center!

Well done!

2 Likes

tenor

3 Likes

3 Likes

"Very Cool* 10 lol
This is a breakthrough, I always wanted to control Unity with Intuiface.
Congratulations Tosoline well done!!!

1 Like

@Louie_Smith It must be summer that inspires everybody to do extra R&D :slight_smile:
@megan @alex @marcelo thanks for the kind words and GIFs!

2 Likes

That is seriously awesome…!
Thanks for sharing your approach and methods, it’s something I’ll look to test as well when i get time.

2 Likes

Hi Paolo @tosolini,

To answer your question, I find your integration pretty smart and well done, especially knowing about your own development non-skills :slight_smile: :slight_smile:

The local network triggers between Unity & Intuiface is the ideal way to go.

As a developer, instead of using AHK, I’d think about a “better” way to communicate from Intuiface to Unity, either by

  • having a local HTTP server running within Unity and using call URL actions or the API Explorer to create an IA to talk to the Unity app
  • or even going further with Websockets open from the Unity side, having an IA in Intuiface that would communicate to it.

Both these solutions require some dev skills and as we often say: if something works, don’t break it :wink:

3 Likes

@tosolini This is really cool! Nice job by you and your team, and a creative way to help the two communicate to each other. The AutoHotkey is kind of a neat tool and I’ll be looking into that too. Thanks for sharing as always and keep up the good work!

2 Likes