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

How to click on a 3d object and put an image (texture) in this and other objects?

I'm developing an application for hololens but I have almost zero experience in Unity and C # oriented games.
So I need the maximum help, putting some doubts here in the forum and studying.
How can I click on a cube and change the png image in it and other cubes?
Where do you advise me to study to help me in building the application and how?
Thank you for your attention

Tagged:

Answers

  • Options

    I'd check out the windows holographic academy tutorials:
    https://docs.microsoft.com/en-us/windows/mixed-reality/academy

    The mixed reality toolkit is a great place to give your coding library a jump start (it includes buttons you could use to tap on a cube):
    https://github.com/Microsoft/MixedRealityToolkit-Unity

    And then I'd look at Unity's forums for how to swap materials/textures on a mesh.

    Tying it all together you could take the mixed reality toolkit's default scene, drop in a cube, add a collider and your initial material to it. Then you will need to add a button/interactible monobehavior that listens for the onClick and changes the material to something else.

    Good luck!

    Taqtile

Sign In or Register to comment.