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

TransformControls: If CTRL is kept pressed while rotating, rotate incrementally every 10 degrees? #606

Open
martinRenou opened this issue Nov 29, 2024 · 3 comments
Milestone

Comments

@martinRenou
Copy link
Member

Making use of https://threejs.org/docs/#examples/en/controls/TransformControls.rotationSnap we should be able to implement such thing

@martinRenou
Copy link
Member Author

Noting that we should not only rotate incrementally but also force the rotation to be a multiple of that increment

@trungleduc
Copy link
Member

trungleduc commented Nov 29, 2024

The rotation should be in snapping mode by default, The increment value can be configured by a small input field in the viewport, under the Press R to switch mode text.

@martinRenou
Copy link
Member Author

Sounds good!

@martinRenou martinRenou added this to the 3.1.0 milestone Dec 4, 2024
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