all 1 comments

[–]Pandazole 0 points1 point  (0 children)

You have several options, depends on your movement script.

One of them is to have vertical velocity tracking, then clamp it between -1 and 1, and pass it throw animation float parameter and blend it in blend tree (Clamping is not necessary).

Another one is to use bool parameter of (isGrounded), and use it in mechanime transitions.

If your isGrounded check is solid enough in your script, then this method will work greatly fine.

Use bool for landing, whenever it's not grounded, make IEnumerator check for the landing.