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

Fix flycam gimbal lock #29

Open
blewert opened this issue Feb 24, 2021 · 1 comment
Open

Fix flycam gimbal lock #29

blewert opened this issue Feb 24, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@blewert
Copy link
Collaborator

blewert commented Feb 24, 2021

Title says it all

@blewert blewert self-assigned this Feb 24, 2021
@blewert blewert added the bug Something isn't working label Feb 24, 2021
@blewert blewert changed the title Fix bug with menu Fix flycam gimbal lock Feb 28, 2021
@blewert
Copy link
Collaborator Author

blewert commented Feb 28, 2021

https://github.com/mrdoob/three.js/blob/master/examples/js/controls/FlyControls.js

For good inspiration! Don't use euler rots, build quats and set rotation directly to avoid gimbal lock.

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

No branches or pull requests

1 participant