AnimationTree > BlendShape2D - Have blending while the BlendPosition-Input is 1 or -1 on X and Y-Axis

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Stupido

Heyho
Currently i am dealing with the AnimationTree-Node.

I have a BlendShape2D for e.g. strafing.
But the BlendPosition-Input i am applying is 1 or -1 on Both X and Y.
So there will be no blending at all because all the Blend-Position-Points inbetween will be skipped. Just choppy jumps to each Position.

Is there a internal way in the AnimatonTree-Node to apply interpolation in a BlendShape2D while the Position-Input is 1 and -1?
Or is it a must, to interpolate the input itself bevor using it as Blend-Position. Still have to figure out how to do that. :stuck_out_tongue:

Many thanks

Edit: Better wording

:bust_in_silhouette: Reply From: Stupido

For as of now i went with interpolating the Player-Input itself bevor applying it as Blend-Position-Input

interpolatedPlayerInput = interpolatedPlayerInput.linear_interpolate(currentPlayerInput, 0.1) 

AnimationTree_Strafe.set("parameters/Strafe/blend_position", interpolatedPlayerInput )