Player falling and either dying in my case, or taking damage based on the distance fallen.
It’s pretty straight forward, instead of a timer I am using a scene variable that increments when PlayerHitbox isFalling, and resets when PlayerHitBox isOnFloor
When it’s exceeds a pre-defined threshold, trial, and error based on your game, then it triggers the PlayerJustDead variable. (It’s based on the Standard Platform Template, so have just gone with the variable names for now)
NB It would be better to add ‘falling’ to the player object and not as a scene variable. It’s just easier to show as an example.
Youtube original link