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.
Options

Way to Play/Pause

I'm creating an animation for the Hololens and was wondering if there's a way to play and pause the animation (either via gestures or voice commands or both)?

Tagged:

Answers

  • Options

    Are you doing it in Unity? Use GestureRecognizer's event for subscribing to gestures and simply call you animator's methods like SetTrigger() to navigate through the animations graph.

    Building the future of holographic navigation. We're hiring.

  • Options

    Correct me if I'm wrong, but it looks like that's for specific objects that are animated in Unity, but is there a way to pause/play the entire animation?

  • Options

    I'm not sure what you mean by an entire animation? You mean pause Unity engine's ticking? You might wanna try to set time scale to zero Time.timeScale = 0.0F. Although I don't recommend that as it may have some side effects. If you mean to stop animations for more objects, just stop it on each of them?

    Building the future of holographic navigation. We're hiring.

  • Options

    I asked my question on another forum and I haven't tried it out yet, but it looks like the answer I was looking for: http://gamedev.stackexchange.com/questions/130330/play-stop-all-animations-in-a-project

Sign In or Register to comment.