How can i detect that my player has fall from a high place . So that when he falls from a high place then his Health Decreases???
If you are using the standard Platformer behavior for your character, then it has the
Current falling speed parameter:
While falling (conditions
Is falling) you can get speeds. If the speed exceeds the value specified by you, then inflict damage on the character.
If it is not convenient to use the speed, then at the beginning of the fall, remember the current coordinate along the Y axis (the position of the character). Upon landing, subtract the current Y value from the one you memorized. If the difference (height) between the points exceeds the one set by you, then cause damage to the character.
OMG Man That is crazy
And very usefull
Dang loved it