The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
[Help] Basic Voice Commands Using the Device
Hi, I am a college student, currently a beginner in HoloLens Dev. I completed the Holograms 101 (Origami) in the Holographic Academy. I decided to apply that lesson into a project I'm doing, which is a simulator of the Big Bang. I added the scripts to my project for voice commands, and also the cursor provided in the lesson with the Gaze Gesture Manager.
The cursor shows correctly on top of my hologram (a sphere) and the air-tap gesture on that sphere works (it instantiates an object with a Particle System).
Have a cursor that will display when the user looks at the sphere that represent the initial point of the Big Bang (working)
Do an air-tap gesture on a Sphere, in order to trigger a Particle System, to simulate the Big Bang (working)
Say "Load next" to move to the next scene, and "Start big bang" to start the explosion. This is the same effect as the air-tap gesture on the sphere. (Neither is working)
I created a game object "GestureManager", that has two scripts: GazeGestureManager, that manages the air-tap gesture and calls a method when the sphere is tapped, and SpeechManager, which takes care of the voice commands.
As children of the GestureManager game object, are the Sphere and a LevelManager game object.
The Sphere has a script called Exploder. It has an Explode method that Instantiates a particle system and destroys the sphere.
The LevelManager object has a LevelManager script. It has a loadNextLevel method that loads the next scene.
- To try the LevelManager is working, I used the invoke to call the loadNextLevel after 20 seconds, and it works.
- The scripts are basically the same as Holograms 101 (Origami) I just adapted it to my project.
- I attached images containing a view of the scene in my project, and the scripts.
- I am using the HoloLens, and not the emulator. I have changed all the settings to optimize the project for HoloLens.
- In the scripts, I already tried different things, I left those statements as comments.
Any suggestion would be appreciated .