How to add an inbetweens animation in the AnimationPlayer

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

My player has an up, down, left, right aim i want to put my in between animations when changing aim.

Like if im facing right and want to aim down the inbetween would be my down right animation and if aiming up it would be my aim up right and vice versa.

Is there a was to put inbetweens using the AnimationPlayer.

:bust_in_silhouette: Reply From: Becbunzen

You need to trigger the animations that you want to show first before switching over to the final ones. Or use Tween.

Is there no way in the Animation Node I can set parameters to automatically choose the correct animation.

Newby | 2020-06-04 06:12

You can choose which animation to play, and which frame, but it might be a trickier solution. See

   String assigned_animation

Setter 	set_assigned_animation(value)
Getter 	get_assigned_animation()

If playing, the current animation; otherwise, the animation last played. When set, would change the animation, but would not play it unless currently playing. See also current_animation.

Becbunzen | 2020-06-04 06:47