How to calculate the tallest when falling down? platformer

I have a platformer actor, I need to calculate the distance of the ground when falling down, if its to far from the ground the actor will dead, but if not to far or near it will only take some little damage or simple have a well landing.
Comments