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.

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.