Using Event Hit to detect if Pawn is 'grounded'

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.

  • On hit, if impact normal Z == 1, set grounded to true
  • After that, add a delay (0.1s) and set it back to false. This way, delay will be called constantly and if hit stops firing, the delay will finish.

Hopefully this helps, cheers! :slight_smile:

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…