How to show 2D UI fixed in 3D World

Hello,

I’m currently working on a application on Hololens.
But I’m facing a problem.
Context :

My Problem :

  • I would like to show information about the hologram. I need these information to be 2D UI (with canvas, etc) and to be fixed in the 3D World (and facing the user → Billboard.cs from HoloToolkit)

Is it possible to do it ? If yes, how ?

Thanks for reading.

Don’t hesitate to ask for further information

There are a few ways, you could use the Billboard.cs from HoloTool Kit.

Basically you need to implement a few pieces:
-Anchor for the position with a world lock
-Then have the object use the transform.LookAt() to look at the camera

There are probably more than a few ways to do this

What Wesley said, plus you might want to save the anchors to the local storage device so when you launch the app it brings them back to the same position. Have a look at WorldAnchorStore