I know that this is counter-intuitive but I wanna rotate a BABYLON.GUI.Rectangle in 3 axes, probably you want to ask me about using a regular plane but there are two reasons to avoid it:
- I need to be always on top over the rest of the scene.
- I need to have it resolution independent, I mean it should keep the same size independently from the distance to the camera.
So BABYLON.GUI.Rectangle meets all the requirements … but what happens if I want to orientate it?
Obviously if you know another way even using regular planes to do that it could be helpful!
Sample to play with (Babylon playground is addictive!)