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.

Interactable Objects

Hello Everyone,
I am Student and am still in learning phase. I am creating a hololens app with many 3D objets and i want to interact with those objects with different functionality. For example with one object i can start video/audio and another object i can stop or pause or maybe mute.

  1. How can i write all functionalities within one script. I'm trying to use OnClick method but it's for only one Object. Should i have to use Receiver ? if, yes, please Provide me some link for beginner (video would be better).

  2. Can i run multiple Object same time. Like one object is running and if i choose another Object then first one should be running in background.

Thanks in advance for your suggestions and help. :)

Answers

  • Hey Dip,

    I'd start with running through a few of these tutorials:
    https://docs.microsoft.com/en-us/windows/mixed-reality/academy

    They have sample code and there are interactible objects/buttons in those samples which should give you a good idea of how to wire some buttons.

    And yes, you can have multiple objects that each have their own audio playing. Probably video as well but video is pretty taxing on the device so I'd stick to 1 video playing at a time.

    Good luck!

    Taqtile

Sign In or Register to comment.