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

Add amount option to animation track filter #7578

Open
eddieataberk opened this issue Aug 29, 2023 · 2 comments · May be fixed by godotengine/godot#76788
Open

Add amount option to animation track filter #7578

eddieataberk opened this issue Aug 29, 2023 · 2 comments · May be fixed by godotengine/godot#76788

Comments

@eddieataberk
Copy link

Describe the project you are working on

A game with complex animations

Describe the problem or limitation you are having in your project

Blending animations per bone looks unrealistic. Because it blends based on bool values. It's either %100 or %0 there is no in-between. In Unreal Engine we can use "Blend Depth" to blend gradually. A similar system would be great for Godot.

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

It turns booleans in blend filtering into float values this way we can control how much the bone will be affected by blend animation.

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?

No

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

This is about the core animation system.

@Calinou
Copy link
Member

Calinou commented Aug 29, 2023

cc @TokageItLab

Tree doesn't have a way to display arbitrary numbers instead of a checkbox, so this likely requires custom drawing code.

@Calinou Calinou changed the title Animation Blend2, Bone filtering improvements Allow gradually blending bones in AnimationTree Blend2 Aug 29, 2023
@Daylily-Zeleen
Copy link

Daylily-Zeleen commented Sep 7, 2023

This can be implemented for all type of node which has "filter".

This should refactor the AnimationTree blend logic first.

I am interested in implementing this feature, but it seems that animation system is encounting a huge change, I don't know how to contribute appropriatly for animation system.

@TokageItLab TokageItLab changed the title Allow gradually blending bones in AnimationTree Blend2 Add amount option to animation track filter Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants