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.

Can't Detect Manipulation Completed/Canceled

I'm having an issue with IManipulationHandler that hope you guys can help me with.

I was trying to solve the problem of losing track when the user's not gazing exactly on the trigger collider while applying manipulation gestures.

So I created a boolean called isManipulating which will be set to true in OnManipulationStarted(), and will be set back to false in OnManipulationCompleted() / OnManipulationCanceled(). And in OnManipulationUpdated(), it keeps updating the ManipulationEventData and stores them into some global variables which will be used in Update() when isManipulating==true

Everything in OnManipulationStarted() and OnManipulationUpdated() works fine. However, nothing in OnManipulationCompleted() / OnManipulationCanceled() runs, either when the gesture is completed or hand is out of view. Not even a single Debug.Log() and no callback.

Any thoughts? Or if you have any other suggestions to solve the problem I was about to solve, I'd be really appreciated. Thanks!

Sign In or Register to comment.