godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.1k stars 69 forks source link

Make timeline snapping and keying snapping separate buttons in the animation editor #10225

Open Arnklit opened 1 month ago

Arnklit commented 1 month ago

Describe the project you are working on

A game in production

Describe the problem or limitation you are having in your project

We generally always want key snapping enabled when setting and editing keys, but when scrubbing the animation to preview animations we don't want it enabled.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Separate the snapping feature into two buttons, one for the keying and one for scrubbing the timeline.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

image

If this enhancement will not be used often, can it be worked around with a few lines of script?

This would be used often

Is there a reason why this should be core and not an add-on in the asset library?

This is about improving the animation tools out of the box

Calinou commented 1 month ago

Timeline snapping should probably be disabled by default, in fact. Most animations are designed to be played in a continuous manner after all, and discrete scrubbing kind of breaks that.