Hello everyone.

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.

Mixed Reality Controllers Dev

Hi Folks,

I'm having a hard time developing with MR controllers in Unity. I'm trying to simply poll and then perform tasks based on controller input. I've tried using Unity's Input Manager (nothing happens) and the windows API. With the API even

if (interactionSourceState.selectPressed) {
// ...
}

as outlined in the docs doesnt work

Any guidance would be appreciated

Answers

  • We have tested your code, and motion controllers’ states can be detected correctly with Win API.
    Our environment:
    OS build: 16299.98
    Unity Version: Unity 2017.2.0p2-MRTP5 (64-bit)

    Please update your environment to latest version if possible, perhaps this has been fixed in the latest release.
    If the problem cannot be fixed, you can also share your environment with us. It really helps for us to follow up your question.

Sign In or Register to comment.