I’ve run into a bit of an interesting situation. I’m creating a view cube that is positioned on top of my main scene using a viewport and an arcRotateCamera. I have the view cube working properly, but what’s happening when the window is resized, the cube ‘position’ doesn’t maintain a fixed distance from the edges of the screen.
I’m trying to keep the cube about 10px from the bottom and from the right.
Thanks for the reply Gary. Here’s an example of what it looks like in our UI. When resizing the window, the buttons to the left of the view cube make the left+right view cube movement really obvious. If there’s another approach to a view cube (must use a separate camera), I’ll down to try it!