We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.
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.
The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.
On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.
So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. 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 .