What is the best way to create "ViewCube"?

Hi. 3d Blender, 3d Max and others use ViewCube to show the position of the object. They are located in the upper end of the corner.
What is the best way to create “ViewCube”?
Examples;
0EM30000001FnDK

I would probably go with a second scene displaying on a smaller viewort like this:
https://playground.babylonjs.com/#95H1SM

4 Likes

I feel like I have done this before… let me see if I can did that up for you.
Aw damn @sebavan beat me his is better cause mine relied on a secondary canvas… Id go with his solution.

Thanks to Sebavan, I think that’s it. I would like to have everything inside a one canvas, without the need for an additional secondary canvas.
I will try to write in my babylon playground, if I make a mistake…, contact you, I still learn to work in babylon.
Thanks again