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

Spin globe on axis? #175

Open
chan4est opened this issue May 27, 2024 · 1 comment
Open

Spin globe on axis? #175

chan4est opened this issue May 27, 2024 · 1 comment

Comments

@chan4est
Copy link

Is there any option to spin the globe on an axis (like 23.5°) so it can look literally like a globe? Combing through the documentation, examples, and Issues has led me nowhere.

@vasturiano
Copy link
Owner

@chan4est the way to control the Globe uses ThreeJS OrbitControls, which enforces a north-up orientation always.

What you could do to overcome this limitation is use instead the lower level module three-globe and setup the scene/camera/controls scaffolding yourself so that it behaves the way you intend. If you wish to to do it in a React environment you can wrap it in a react-three-fiber component.

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

No branches or pull requests

2 participants