I’m trying to set up some logic for when the character is falling and on landing.
IsFalling always returns false when there’s a walkable obstacle beneath the character - even if the character isn’t touching it (i.e. when it’s falling towards it).
It does return true when there’s nothing beneath the character, however.
I’ve attached two screenshots: one with the character falling through a gap that lands on a platform and another one where there’s no platform. I’m printing the current movement mode on tick, so you can see the difference.
I looked through the settings of the CharacterMovementComponent but found nothing that seemed relevant. How do I make sure isFalling returns true in both situations? I want to detect character falling even when there’s something to land on.