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

ArcballControls: Add rotateSpeed. #26332

Merged
merged 2 commits into from Jun 27, 2023

Conversation

begmec
Copy link
Contributor

@begmec begmec commented Jun 26, 2023

Description

The user wants to set the rotational speed for the arcball controls. Currently it is fix and cannot be set. Similar to the orbit controls, I added a "rotateSpeed" option that lets you define a speed factor.

@begmec begmec changed the title Be able to set the arcball rotate speed Set the arcball rotate speed Jun 26, 2023
@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 27, 2023

LGTM! Do you mind updating the documentation page?

https://threejs.org/docs/index.html#examples/en/controls/ArcballControls

You can essentially copy/paste the description of OrbitControls.

@Mugen87 Mugen87 added this to the r154 milestone Jun 27, 2023
- lexically sort documented properties
@Mugen87 Mugen87 merged commit d33b929 into mrdoob:dev Jun 27, 2023
16 of 17 checks passed
@Mugen87 Mugen87 changed the title Set the arcball rotate speed ArcballControls: Add rotateSpeed. Jun 27, 2023
@begmec
Copy link
Contributor Author

begmec commented Jun 27, 2023

Thanks @Mugen87 !

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.

None yet

2 participants