Hello everyone.

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.

How do I get the Position and Orientation of the Head?

I want to get the position and orientation of the head so I can make a cube move in front of the user when they call for it with the voice command.
Follow up question, how do I get voice commands to work?
I am using MRTK in Unity and I am new to C#.
Please don't refer me to Microsoft tutorials, I find them to be the least useful.

Sorry if this is a silly question with a simple answer, I haven't had much luck searching for it.

Best Answers


  • @dbarrett said:

    Drag the object or object containing the script you want to manipulate and then find the method you want it to perform.

    Is there a way to add custom functions?

  • See my latest tutorial on using speech based input for the Hololens: https://codeholo.com/2017/12/03/using-voice-based-interactions-on-the-hololens-via-speech-input-source-speech-input-handler/ using 2017 editions of Unity and the MR Toolkit

Sign In or Register to comment.