How can i play fall animation after a jump?

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

I want to play a fall animation when the player reaches a certain level when it finish jumping.

:bust_in_silhouette: Reply From: steffan99

You can add a raycast at the bottom of your player to check if your player is touching the ground or not then tell the animationplayer to play the fall animation.

doesn’t is_on_floor() work?
if not, can you please show how to do that?

CDM | 2022-10-13 18:15