Skip to content

Conversation

@AWoloszyn
Copy link
Contributor

This allows unlimited rotation in both axes.
Fixes #1215

This allows unlimited rotation in both axes.
Fixes google#1215
Copy link
Member

@pmuetschard pmuetschard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like it. I was going to say on the bug that its WAI, but I'm open to discussion.

The point of the cylinder camera model is to prevent rotation over the top/bottom as that would invert the horizontal drag. In Tom's case, all he has to do is press the z-up button and everything would look like the way he wants.

BTW, the only thing required to get rid of the limits is to remove the angleX = Math.min(Math.max(angleX, -90), 90); line.

@AWoloszyn
Copy link
Contributor Author

As a note, this method doesn't invert the horizontal drag after rotating over the top/bottom.

@ben-clayton
Copy link
Contributor

After consideration it's clear that different people prefer different camera modes. Can I suggest we add an option to the settings dialog for camera style? If we do that, can I also add my preferred camera style - WASD?

@AWoloszyn AWoloszyn closed this May 8, 2018
@AWoloszyn AWoloszyn deleted the geometry-view branch May 8, 2018 13:23
purvisa-at-google-com pushed a commit that referenced this pull request Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants