How to take damage when falling from a high place?

How can I make a minecraft-like fall damage system?

2 Likes

One way to do this is measure the player’s Y velocity, after a certain value you take damage according to your speed.

3 Likes

you can raycast the ground, if it misses, then add a timer, for every tick, is +1 damage, and it should repeat, until it hits the ground, it goes forever

That is not a bad idea! Thanks!
@nhgcr_for_the_3rd_time your idea was great to! Thanks for your help guys/gals!

1 Like