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

Transform gizmos for rotating / scaling #329

Open
kaixoo opened this issue Nov 17, 2024 · 9 comments
Open

Transform gizmos for rotating / scaling #329

kaixoo opened this issue Nov 17, 2024 · 9 comments
Labels
enhancement New feature or request
Milestone

Comments

@kaixoo
Copy link

kaixoo commented Nov 17, 2024

Hi, currently the main limitation of the software for me is that you aren't able to freely scale / rotate objects and you must input values manually in the keyframes.

a) What pieces of code should be modified to create a live transform/move/rotate UI? (already exists for moving objects)

b) How should it be made

@rodlie
Copy link
Member

rodlie commented Nov 17, 2024

S, R, G.

@kaixoo
Copy link
Author

kaixoo commented Nov 17, 2024

Okay, this works but not very intuitive for the average user. S and G should have an infinite scroll mouse, I can do that.

@rodlie
Copy link
Member

rodlie commented Nov 18, 2024

this works but not very intuitive

Feel free to fix it. I will do it at some point, but it's not a priority for me.

@kaixoo
Copy link
Author

kaixoo commented Nov 20, 2024

a) What pieces of code should be modified to create a live transform/move/rotate UI? (already exists for moving objects)

@KirbysDarkNebula
Copy link

Do you mean transform gizmos or ui showing the values as you edit?
The latter is already implemented and should show in the bottom left corner of the viewport.
(Snapping might be more necessary than gizmos imo even though you can input the value you want after pressing the appropriate transform key)

@kaixoo
Copy link
Author

kaixoo commented Nov 22, 2024

Transform gizmos, yes. Agree on that snapping is more important, how do you plan to implement snapping without gizmos?

@KirbysDarkNebula
Copy link

Transform gizmos, yes. Agree on that snapping is more important, how do you plan to implement snapping without gizmos?

Adding snapping is simple enough you just check for a key modifier (imo CTRL would probably the best for this) and divide by given snap value, then floor that value and multiply again by snap value.
Example: snap value is 5, we rotate to 92º -> 92/5 = 18.4 -> we floor that then multiply by snap value -> 18 * 5 = 90

Ofc the implementation can be different but this is just a basic way it would work.

(You can already snap values with expressions btw but it's not as modular as pressing a modifier key while transforming the object)

@kaixoo
Copy link
Author

kaixoo commented Nov 23, 2024

I doubt a modifier for snapping behaviour is most intuitive. I think standard behaviour is when you're near a border / center of element

@kaixoo kaixoo changed the title Transform / scale UI to rotate/rescale objects directly on screen Transform gizmos for rotating / scaling Nov 24, 2024
@rodlie rodlie added the enhancement New feature or request label Nov 27, 2024
@rodlie rodlie added this to the 1.1.0 milestone Nov 27, 2024
@adambelis
Copy link

Possible implemenations

inkscape_kNsfuFLTYa

Cinema_4D_miGcdse5gz.mp4

would also be useful in graph and timeline

Cinema_4D_sk4eVt71Ur.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants