Skip to content

Using the compass breaks the scene (can no longer move around the workspace) #20523

@JenLDev

Description

@JenLDev

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:

  1. track and tumble around in your scene
  2. click on the compass Y axis maybe more than once
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions