# isFalling returns false if there's floor beneath the character

**URL:** <https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079>\
**Category:** Character & Animation\
**Tags:** falling, charactermovementcom, unreal-engine, Blueprint, question\
**Created:** [December 31, 2023, 9:20am UTC](https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079 "2023-12-31T09:20:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![levtyrnov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/levtyrnov/32/875963_2.png) [@levtyrnov](https://forums.unrealengine.com/u/levtyrnov)\
**Post date:** [December 31, 2023, 9:20am UTC](https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079/1 "2023-12-31T09:20:53Z")

</div>

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.

 ![Screen Shot 2023-12-31 at 16.11.34](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/2/6b218400bdbb87489ea7d56b9e9cabbf555369b3.jpeg)  
 ![Screen Shot 2023-12-31 at 16.11.14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/5/0a50422f9b6c27d0479ff75bab4641fb7c1ffce2.jpeg)

---

<div class="post-metadata">

**Author:** ![levtyrnov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/levtyrnov/32/875963_2.png) [@levtyrnov](https://forums.unrealengine.com/u/levtyrnov)\
**Post date:** [January 3, 2024, 4:42am UTC](https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079/2 "2024-01-03T04:42:24Z")

</div>

For anyone having the same issue, it is solved by using Is Moving On Ground function instead.

 ![Screen Shot 2024-01-03 at 11.42.04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/0/21038c3c45a86f792698fb2138feadbad7abbd56.png)

---

<div class="post-metadata">

**Author:** ![levtyrnov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/levtyrnov/32/875963_2.png) [@levtyrnov](https://forums.unrealengine.com/u/levtyrnov)\
**Post date:** [January 3, 2024, 5:35am UTC](https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079/3 "2024-01-03T05:35:54Z")

</div>

Alternatively, you can try to restart the editor and your computer. After doing that, Is Falling now seems to be working as expected - must have been a glitch.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 2, 2024, 5:36am UTC](https://forums.unrealengine.com/t/isfalling-returns-false-if-theres-floor-beneath-the-character/1576079/4 "2024-02-02T05:36:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
