-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Description
Describe the bug
When I use the compass there are times where it breaks the scene and I can no longer track or rotate around the object. It seems that it happens most often when trying to view in the Y axis but also happens when using X and Z as well. After tracking in the scene and then using the compass it seems to disrupt the code for the compass and so the workspace just jitters when you try to move around the scene and the only way to resolve it is to refresh the page.
https://discourse.threejs.org/t/compass-breaks-the-scene/19797
Steps to reproduce the behavior:
- track and tumble around in your scene
- click on the compass Y axis maybe more than once
- Try to track and tumble around in your scene, you will see it jitters and is impossible to move around after that.
Expected behavior
I expect that if I do not have an object selected that the compass interaction would adjust my view without breaking the ability to tumble and move around the scene based on the scenes origin. I would expect the same that if I have an object is selected and use the compass that it's view points are relative to the objects origin and I will be rotating and viewing around the object.
Platform:
- Device: Desktop
- OS: MacOS
- Browser: Chrome
- Three.js version: r121