Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Camera orientation jumps after entering sketch mode, rolls random amount about forward vector #4410

Closed
franknoirot opened this issue Nov 6, 2024 · 0 comments · Fixed by #4572
Labels
bug Something isn't working
Milestone

Comments

@franknoirot
Copy link
Collaborator

Describe the bug

When entering sketch mode, often the client-side and engine-side scenes will become de-synced after the sketch mode entrance animation completes, but only in a specific way. One or the other will suddenly roll an arbitrary and random amount about the axis formed by the camera's look vector. This is visually noticeable because the engine-side orientation axes will then no longer align with the client-side scene that is rendered over it.

It is notable that if you happen to zoom in or out while in sketch mode that resets the alignment to be correct.

Steps to Reproduce

  1. Click Start sketch in the toolbar
  2. Orbit your camera to sketch on any default plane (but this seems to occur more frequently on plane back faces or maybe when the camera animation is long)
  3. Note the jump and disconnect that occurs between the faded (engine) scene background and the clear (client) scene

Expected Behavior

The engine and client-side scenes always remain in sync.

Screenshots and Recordings

Demo video from @paultag in Slack:

Screenshare.-.2024-11-06.9_53_12.AM-compressed.mp4

Desktop OS

All

Browser

All

Version

v0.26.2

Additional Context

No response

@franknoirot franknoirot added the bug Something isn't working label Nov 6, 2024
@franknoirot franknoirot added this to the v1.0 🚀 milestone Nov 6, 2024
@franknoirot franknoirot linked a pull request Dec 2, 2024 that will close this issue
@franknoirot franknoirot changed the title [BUG]: Camera orientation jumps after entering sketch mode, roles random amount about forward vector [BUG]: Camera orientation jumps after entering sketch mode, rolls random amount about forward vector Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant