Butterflies ‘Hello World’ Demo (across holographic and immersive headsets)

NB: The usual blog disclaimer for this site applies to posts around HoloLens. I am not on the HoloLens team. I have no details on HoloLens other than what is on the public web and so what I post here is just from my own experience experimenting with pieces that are publicly available and you should always check out the official developer site for the product documentation.

Just a quick post to share a ‘hello world’ style demo that I made to try and illustrate a few pieces in the Mixed Reality Toolkit for Unity that could be used to make code which ran across both immersive and a HoloLens headsets with a sprinkling of common features including;

  • Gaze
  • Gesture
  • Voice
  • Spatial mapping
  • Spatial sound
  • Boundary and additional content for an immersive headset

I found a couple of models on Remix3D and on the Unity asset store and I set something up around the theme of butterflies which fly around, banging into walls and responding to a couple of global/local voice commands and gestures. The flying of the butterflies is completely dubious but I quite liked the way it worked out.

I suspect I made a few errors and it wasn’t quite perfect (my teleporting isn’t quite right outside of the editor) but I screen captured it here in case it’s of any use to others;

and you can get the code (feel free to fix it Smile) from here.

There’s nothing innovative in here other than the various mistakes which I made – those are uniquely mine.