How to implement fall damage

In my game, I’d like to have character lose his health when fall from too high. How to make such fall damage?

Depends how you are controlling your character. If you have gravity on him you can easily use vertical speed to determine on collision event wheather vertical velocity is greater than lets say 5m/s and he should get damage.

Even if you have custom controls this would apply.

If you dont have those variables you could raycast and if you hit nothing for lets say 4meters below player, you raise a flag “dieOnCollision” or whatever and than update player status accordingly when you have collision from above.