Skip to content

Character Controller Check Is Falling

Uses a Raycast to check if a CharacterController is falling.

This fixes issues using the built-in IsGrounded property when walking down slopes or stairs.

Parameter Description
Character Controller The CharacterController.
Ray Length Length of the raycast used to check if the controller is falling. The Character Controller's Step Offset should work well here.
Store Result Store the result of the test in a bool variable.
True Event Event to send if the test is true.
False Event Event to send if the test is false.
Every Frame Repeat the test every frame. Useful for continuous checking.