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

BlendTree Node to interpolate between values #2148

Closed
ca3games opened this issue Jan 19, 2021 · 1 comment
Closed

BlendTree Node to interpolate between values #2148

ca3games opened this issue Jan 19, 2021 · 1 comment
Milestone

Comments

@ca3games
Copy link

Describe the project you are working on

Fighting game

Describe the problem or limitation you are having in your project

I want to interpolate between rotations in the animations of a 2.5D fighting game.

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

To allow AnimationTree 2D blend nodes to be used to interpolate the values of a variable, like having a certain rotation value set as the target of the animation 2D blend node, similar to how the tween node works.

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

A node similar to the Tween node, but you can set diferent interpolation goals based on which current start value is closer to (Imagine a 3D sphere and your interpolation goal is the closest output goal you current value).

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

It will be very useful as some kind of 2D blend lerp state machine.

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

No, this is a core function.

@TokageItLab
Copy link
Member

TokageItLab commented Jan 23, 2023

Closed by godotengine/godot#64924.

@TokageItLab TokageItLab added this to the 4.0 milestone Jan 23, 2023
@Calinou Calinou moved this from In Discussion to Implemented in Godot Proposal Metaverse Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Implemented
Development

No branches or pull requests

3 participants