Hello,
I want to display a gadget to indicate the user’s orientation. This one is on the upper layer of the screen and always in the same place as for a hud or a minimap. The idea is to know where is the high, the low, etc.
For now, I managed to put a colored cube on the utility layer. Each time I render, I position it in front of the camera. This camera is an ArcRotateCamera, but I would like it to work with UniversalCamera too.
I think I do not fully understand the pipeline because when I turn around the tube the colored cube moves too.
Are there examples to create a hud with 3D elements that follow the orientation of the camera?