FullOrbitViewer.zip (762.6 KB)
…I tried once before but this time it really works! I had to get ChaGPT to rewrite some self:_updateArcballFrame() DeepSeek code to make it work, but it works. They use quaternions and something called an arcball to achieve true 360 swipe-ability.
Should be usable as a drop-in replacement for OrbitViewer in any project.
The standard OrbitViewer locks vertical rotation to 180 degrees otherwise an inversion happens where the camera moves the opposite of the direction you swipe horizontally. This has no vertical lock and lets you swipe endlessly in any direction.