How do I get this to work?
It only affects the boolean on hit detection, but if my player is in the air. it doesn’t change to false because it’s not recieving a hit event in the first place.
I also tried setting the boolean in Event Tick but I get the same result.
If your pawn is a character, you already have IsFalling variable inside character movement. If not, here’s how I’d do it.
Hopefully this helps, cheers!
This doesn’t really work for me: if the pawn stands still the grounded flags becomes false even if it is still touching the ground…