Visual Script | Jump animation works ONLY when jumping while moving

Here’s a video showing what I’m talking about…

You can see the scene variable groundCheck being false.
I followed this part of the course [4. Icy Ascent “Adding a ground check” ]

So this logic is working. I can get the scene variable to change if ground detected true, or else false.

So when I enter jump state - i can set true isJumping to initiate animation and it works ONLY IF IM MOVING - If i jump without moving - it jumps but it’s not animating.

I can’t figure out what is happening… here’s my VS:

My character got double jump, and it works logically.
it moves, it stops, it moves in Z a bit (for a second lane), it changes X scale to face the other way…

The only issue i have is that isGrounded animation bool is not following scene isGrounded variable from groundCheck when NOT-MOVING. If i move and THEN jump - it works.

I can’t figure out what is wrong… please help

Privacy & Terms